Struct bollard::service::Platform[][src]

pub struct Platform {
    pub architecture: Option<String>,
    pub os: Option<String>,
}

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

impl Clone for Platform[src]

impl Debug for Platform[src]

impl Default for Platform[src]

impl<'de> Deserialize<'de> for Platform[src]

impl PartialEq<Platform> for Platform[src]

impl Serialize for Platform[src]

impl StructuralPartialEq for Platform[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.