Struct docker_api_stubs::models::Platform
source · [−]Expand description
Platform represents the platform (Arch/OS).
Fields
architecture: Option<String>
Architecture represents the hardware architecture (for example,
x86_64
).
os: Option<String>
OS represents the Operating System (for example, linux
or windows
).
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Platform
impl<'de> Deserialize<'de> for Platform
sourcefn 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 Platform
Auto Trait Implementations
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more