pub struct Property {
pub id: PropertyId,
pub labels: LocalizedMap,
pub descriptions: LocalizedMap,
pub subject_types: Vec<EntityTypeId>,
pub value_type: ValueType,
pub target_types: Option<Vec<EntityTypeId>>,
pub allowed_qualifiers: Vec<PropertyId>,
pub cardinality: Cardinality,
}Fields§
§id: PropertyId§labels: LocalizedMap§descriptions: LocalizedMap§subject_types: Vec<EntityTypeId>§value_type: ValueType§target_types: Option<Vec<EntityTypeId>>§allowed_qualifiers: Vec<PropertyId>§cardinality: CardinalityTrait Implementations§
Source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
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 Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnsafeUnpin for Property
impl UnwindSafe for Property
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