pub struct NestedDeviceBay {
pub id: Option<Uuid>,
pub object_type: Option<String>,
pub url: Option<String>,
}Expand description
NestedDeviceBay : Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Fields§
§id: Option<Uuid>§object_type: Option<String>§url: Option<String>Implementations§
Source§impl NestedDeviceBay
impl NestedDeviceBay
Sourcepub fn new() -> NestedDeviceBay
pub fn new() -> NestedDeviceBay
Base class to use for serializers based on OrganizationalModel or PrimaryModel. Can also be used for models derived from BaseModel, so long as they support custom fields, notes, and relationships.
Trait Implementations§
Source§impl Clone for NestedDeviceBay
impl Clone for NestedDeviceBay
Source§fn clone(&self) -> NestedDeviceBay
fn clone(&self) -> NestedDeviceBay
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 NestedDeviceBay
impl Debug for NestedDeviceBay
Source§impl Default for NestedDeviceBay
impl Default for NestedDeviceBay
Source§fn default() -> NestedDeviceBay
fn default() -> NestedDeviceBay
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NestedDeviceBay
impl<'de> Deserialize<'de> for NestedDeviceBay
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 NestedDeviceBay
impl PartialEq for NestedDeviceBay
Source§impl Serialize for NestedDeviceBay
impl Serialize for NestedDeviceBay
impl StructuralPartialEq for NestedDeviceBay
Auto Trait Implementations§
impl Freeze for NestedDeviceBay
impl RefUnwindSafe for NestedDeviceBay
impl Send for NestedDeviceBay
impl Sync for NestedDeviceBay
impl Unpin for NestedDeviceBay
impl UnsafeUnpin for NestedDeviceBay
impl UnwindSafe for NestedDeviceBay
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