pub struct CollectionElement {
pub id: Option<String>,
pub uuid: Option<Uuid>,
pub collection_id: Option<String>,
pub element_uuid: Option<Uuid>,
pub element_type: Option<ElementType>,
pub description: Option<String>,
}
Fields§
§id: Option<String>
§uuid: Option<Uuid>
§collection_id: Option<String>
§element_uuid: Option<Uuid>
§element_type: Option<ElementType>
§description: Option<String>
Implementations§
Source§impl CollectionElement
impl CollectionElement
pub fn new() -> CollectionElement
Trait Implementations§
Source§impl Clone for CollectionElement
impl Clone for CollectionElement
Source§fn clone(&self) -> CollectionElement
fn clone(&self) -> CollectionElement
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 CollectionElement
impl Debug for CollectionElement
Source§impl Default for CollectionElement
impl Default for CollectionElement
Source§fn default() -> CollectionElement
fn default() -> CollectionElement
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionElement
impl<'de> Deserialize<'de> for CollectionElement
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 CollectionElement
impl PartialEq for CollectionElement
Source§impl Serialize for CollectionElement
impl Serialize for CollectionElement
impl StructuralPartialEq for CollectionElement
Auto Trait Implementations§
impl Freeze for CollectionElement
impl RefUnwindSafe for CollectionElement
impl Send for CollectionElement
impl Sync for CollectionElement
impl Unpin for CollectionElement
impl UnwindSafe for CollectionElement
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