pub struct PropertyDefinition {
pub id: String,
pub name: LocalizedText,
pub description: Option<LocalizedText>,
pub value_kind: PropertyValueKind,
pub unit_dimension: Option<String>,
pub external_names: Vec<ExternalName>,
}Fields§
§id: String§name: LocalizedText§description: Option<LocalizedText>§value_kind: PropertyValueKind§unit_dimension: Option<String>§external_names: Vec<ExternalName>Trait Implementations§
Source§impl Clone for PropertyDefinition
impl Clone for PropertyDefinition
Source§fn clone(&self) -> PropertyDefinition
fn clone(&self) -> PropertyDefinition
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 PropertyDefinition
impl Debug for PropertyDefinition
Source§impl<'de> Deserialize<'de> for PropertyDefinition
impl<'de> Deserialize<'de> for PropertyDefinition
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 PartialEq for PropertyDefinition
impl PartialEq for PropertyDefinition
Source§impl Serialize for PropertyDefinition
impl Serialize for PropertyDefinition
impl StructuralPartialEq for PropertyDefinition
Auto Trait Implementations§
impl Freeze for PropertyDefinition
impl RefUnwindSafe for PropertyDefinition
impl Send for PropertyDefinition
impl Sync for PropertyDefinition
impl Unpin for PropertyDefinition
impl UnwindSafe for PropertyDefinition
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