pub struct CustomTypeScheme {
pub artefact: CommonArtefactType,
pub is_partial: Option<bool>,
pub custom_types: Option<Vec<Item>>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
The item scheme for a custom type.
Fields§
§artefact: CommonArtefactType
§is_partial: Option<bool>
§custom_types: Option<Vec<Item>>
§other: Option<HashMap<String, Value>>
Trait Implementations§
Source§impl Artefact for CustomTypeScheme
impl Artefact for CustomTypeScheme
fn artefact(&self) -> &CommonArtefactType
fn id(&self) -> &String
fn agency_id(&self) -> Option<&String>
fn version(&self) -> Option<&String>
fn name(&self) -> Option<&String>
fn names(&self) -> Option<&LocalizedText>
fn valid_from(&self) -> Option<&String>
fn valid_to(&self) -> Option<&String>
fn is_external_reference(&self) -> Option<bool>
fn annotations(&self) -> Option<&Vec<Annotation>>
fn links(&self) -> Option<&Vec<Link>>
Source§impl Clone for CustomTypeScheme
impl Clone for CustomTypeScheme
Source§fn clone(&self) -> CustomTypeScheme
fn clone(&self) -> CustomTypeScheme
Returns a copy of the value. Read more
1.0.0 · 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 CustomTypeScheme
impl Debug for CustomTypeScheme
Source§impl Default for CustomTypeScheme
impl Default for CustomTypeScheme
Source§fn default() -> CustomTypeScheme
fn default() -> CustomTypeScheme
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomTypeScheme
impl<'de> Deserialize<'de> for CustomTypeScheme
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
Source§impl Extendable for CustomTypeScheme
impl Extendable for CustomTypeScheme
Source§impl ItemScheme for CustomTypeScheme
impl ItemScheme for CustomTypeScheme
Source§impl PartialEq for CustomTypeScheme
impl PartialEq for CustomTypeScheme
Source§impl Serialize for CustomTypeScheme
impl Serialize for CustomTypeScheme
impl Eq for CustomTypeScheme
impl StructuralPartialEq for CustomTypeScheme
Auto Trait Implementations§
impl Freeze for CustomTypeScheme
impl RefUnwindSafe for CustomTypeScheme
impl Send for CustomTypeScheme
impl Sync for CustomTypeScheme
impl Unpin for CustomTypeScheme
impl UnwindSafe for CustomTypeScheme
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