pub struct RackRole {Show 15 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub name: String,
pub slug: String,
pub color: Option<String>,
pub description: Option<String>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
pub rack_count: Option<i64>,
}Expand description
RackRole : Base serializer class for models inheriting from OrganizationalModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§name: String§slug: String§color: Option<String>§description: Option<String>§owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>§rack_count: Option<i64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RackRole
impl<'de> Deserialize<'de> for RackRole
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 RackRole
Auto Trait Implementations§
impl Freeze for RackRole
impl RefUnwindSafe for RackRole
impl Send for RackRole
impl Sync for RackRole
impl Unpin for RackRole
impl UnsafeUnpin for RackRole
impl UnwindSafe for RackRole
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