pub struct Ocel2ObjectType {
pub name: String,
pub attributes: Vec<Ocel2Attribute>,
}Expand description
OCEL 2.0 object type definition.
Fields§
§name: StringObject type name
attributes: Vec<Ocel2Attribute>Attributes for this object type
Trait Implementations§
Source§impl Debug for Ocel2ObjectType
impl Debug for Ocel2ObjectType
Source§impl<'de> Deserialize<'de> for Ocel2ObjectType
impl<'de> Deserialize<'de> for Ocel2ObjectType
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 Ocel2ObjectType
impl RefUnwindSafe for Ocel2ObjectType
impl Send for Ocel2ObjectType
impl Sync for Ocel2ObjectType
impl Unpin for Ocel2ObjectType
impl UnwindSafe for Ocel2ObjectType
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