pub struct PageDefinition {
pub display_name: String,
pub id: String,
pub source_identity: SourceIdentity,
pub type_: String,
pub unit_definition_ref: String,
}Expand description
PageDefinition
JSON schema
{
"type": "object",
"required": [
"display_name",
"id",
"source_identity",
"type",
"unit_definition_ref"
],
"properties": {
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"source_identity": {
"$ref": "#/$defs/SourceIdentity"
},
"type": {
"type": "string",
"const": "sch.page_definition"
},
"unit_definition_ref": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§display_name: String§id: String§source_identity: SourceIdentity§type_: String§unit_definition_ref: StringTrait Implementations§
Source§impl Clone for PageDefinition
impl Clone for PageDefinition
Source§fn clone(&self) -> PageDefinition
fn clone(&self) -> PageDefinition
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 PageDefinition
impl Debug for PageDefinition
Source§impl<'de> Deserialize<'de> for PageDefinition
impl<'de> Deserialize<'de> for PageDefinition
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 PageDefinition
impl RefUnwindSafe for PageDefinition
impl Send for PageDefinition
impl Sync for PageDefinition
impl Unpin for PageDefinition
impl UnsafeUnpin for PageDefinition
impl UnwindSafe for PageDefinition
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