pub struct PropertyKeyDefinition {
pub id: PropertyKeyId,
pub name: String,
pub family: PropertyFamily,
pub value_type: PropertyType,
}Expand description
Fields§
§id: PropertyKeyIdStable property key identifier.
name: StringHuman-readable unique key name.
family: PropertyFamilySubject family this key can be attached to.
value_type: PropertyTypeRequired scalar value type.
Trait Implementations§
Source§impl Clone for PropertyKeyDefinition
impl Clone for PropertyKeyDefinition
Source§fn clone(&self) -> PropertyKeyDefinition
fn clone(&self) -> PropertyKeyDefinition
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 PropertyKeyDefinition
impl Debug for PropertyKeyDefinition
Source§impl<'de> Deserialize<'de> for PropertyKeyDefinition
impl<'de> Deserialize<'de> for PropertyKeyDefinition
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 PropertyKeyDefinition
impl PartialEq for PropertyKeyDefinition
Source§fn eq(&self, other: &PropertyKeyDefinition) -> bool
fn eq(&self, other: &PropertyKeyDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PropertyKeyDefinition
impl Serialize for PropertyKeyDefinition
impl Eq for PropertyKeyDefinition
impl StructuralPartialEq for PropertyKeyDefinition
Auto Trait Implementations§
impl Freeze for PropertyKeyDefinition
impl RefUnwindSafe for PropertyKeyDefinition
impl Send for PropertyKeyDefinition
impl Sync for PropertyKeyDefinition
impl Unpin for PropertyKeyDefinition
impl UnsafeUnpin for PropertyKeyDefinition
impl UnwindSafe for PropertyKeyDefinition
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