pub struct OsList {
pub id: u32,
pub category_id: u32,
pub code: Option<String>,
pub name: String,
pub view_name: String,
pub instance_type_id: u32,
}Fields§
§id: u32§category_id: u32The live API sends categoryid although the documentation says
categoryId; both are accepted.
code: Option<String>Not documented, but returned by the live API (e.g. "Ubuntu").
name: String§view_name: String§instance_type_id: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for OsList
impl<'de> Deserialize<'de> for OsList
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
Auto Trait Implementations§
impl Freeze for OsList
impl RefUnwindSafe for OsList
impl Send for OsList
impl Sync for OsList
impl Unpin for OsList
impl UnsafeUnpin for OsList
impl UnwindSafe for OsList
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