pub enum Ocel2Value {
String(String),
Integer(i64),
Float(f64),
Boolean(bool),
Null,
}Expand description
OCEL 2.0 attribute value.
Variants§
String(String)
String value
Integer(i64)
Integer value
Float(f64)
Floating point value
Boolean(bool)
Boolean value
Null
Null value
Trait Implementations§
Source§impl Clone for Ocel2Value
impl Clone for Ocel2Value
Source§fn clone(&self) -> Ocel2Value
fn clone(&self) -> Ocel2Value
Returns a duplicate 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 Ocel2Value
impl Debug for Ocel2Value
Source§impl<'de> Deserialize<'de> for Ocel2Value
impl<'de> Deserialize<'de> for Ocel2Value
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 From<&ObjectAttributeValue> for Ocel2Value
impl From<&ObjectAttributeValue> for Ocel2Value
Source§fn from(value: &ObjectAttributeValue) -> Self
fn from(value: &ObjectAttributeValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Ocel2Value
impl RefUnwindSafe for Ocel2Value
impl Send for Ocel2Value
impl Sync for Ocel2Value
impl Unpin for Ocel2Value
impl UnwindSafe for Ocel2Value
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