pub struct Enumeration {
pub id: Uuid,
pub variant_id: Uuid,
pub value: Box<Value>,
}Fields§
§id: Uuid§variant_id: Uuid§value: Box<Value>Trait Implementations§
Source§impl Clone for Enumeration
impl Clone for Enumeration
Source§fn clone(&self) -> Enumeration
fn clone(&self) -> Enumeration
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 Enumeration
impl Debug for Enumeration
Source§impl<'de> Deserialize<'de> for Enumeration
impl<'de> Deserialize<'de> for Enumeration
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 Display for Enumeration
impl Display for Enumeration
Source§impl PartialEq for Enumeration
impl PartialEq for Enumeration
Source§fn eq(&self, other: &Enumeration) -> bool
fn eq(&self, other: &Enumeration) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Enumeration
impl Serialize for Enumeration
impl StructuralPartialEq for Enumeration
Auto Trait Implementations§
impl Freeze for Enumeration
impl RefUnwindSafe for Enumeration
impl Send for Enumeration
impl Sync for Enumeration
impl Unpin for Enumeration
impl UnsafeUnpin for Enumeration
impl UnwindSafe for Enumeration
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