pub struct UnitOccurrence {
pub display_name: String,
pub id: String,
pub page_occurrence_refs: Vec<String>,
pub parent_hierarchy_occurrence_ref: Option<String>,
pub source_identity: SourceIdentity,
pub type_: String,
pub unit_definition_ref: String,
}Expand description
UnitOccurrence
JSON schema
{
"type": "object",
"required": [
"display_name",
"id",
"page_occurrence_refs",
"source_identity",
"type",
"unit_definition_ref"
],
"properties": {
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"page_occurrence_refs": {
"type": "array",
"items": {
"type": "string"
}
},
"parent_hierarchy_occurrence_ref": {
"type": "string"
},
"source_identity": {
"$ref": "#/$defs/SourceIdentity"
},
"type": {
"type": "string",
"const": "sch.unit_occurrence"
},
"unit_definition_ref": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§display_name: String§id: String§page_occurrence_refs: Vec<String>§parent_hierarchy_occurrence_ref: Option<String>§source_identity: SourceIdentity§type_: String§unit_definition_ref: StringTrait Implementations§
Source§impl Clone for UnitOccurrence
impl Clone for UnitOccurrence
Source§fn clone(&self) -> UnitOccurrence
fn clone(&self) -> UnitOccurrence
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnitOccurrence
impl Debug for UnitOccurrence
Source§impl<'de> Deserialize<'de> for UnitOccurrence
impl<'de> Deserialize<'de> for UnitOccurrence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnitOccurrence
impl RefUnwindSafe for UnitOccurrence
impl Send for UnitOccurrence
impl Sync for UnitOccurrence
impl Unpin for UnitOccurrence
impl UnsafeUnpin for UnitOccurrence
impl UnwindSafe for UnitOccurrence
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more