pub struct DeviceBay {Show 13 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub device: Box<BriefDevice>,
pub name: String,
pub label: Option<String>,
pub description: Option<String>,
pub installed_device: Option<Option<Box<BriefDevice>>>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
DeviceBay : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§device: Box<BriefDevice>§name: String§label: Option<String>Physical label
description: Option<String>§installed_device: Option<Option<Box<BriefDevice>>>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeviceBay
impl<'de> Deserialize<'de> for DeviceBay
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
impl StructuralPartialEq for DeviceBay
Auto Trait Implementations§
impl Freeze for DeviceBay
impl RefUnwindSafe for DeviceBay
impl Send for DeviceBay
impl Sync for DeviceBay
impl Unpin for DeviceBay
impl UnwindSafe for DeviceBay
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