[][src]Struct buildkit_proto::moby::buildkit::v1::apicaps::ApiCap

pub struct ApiCap {
    pub id: String,
    pub enabled: bool,
    pub deprecated: bool,
    pub disabled_reason: String,
    pub disabled_reason_msg: String,
    pub disabled_alternative: String,
}

APICap defines a capability supported by the service

Fields

id: Stringenabled: booldeprecated: bool

Unused. May be used for warnings in the future

disabled_reason: String

Reason key for detection code

disabled_reason_msg: String

Message to the user

disabled_alternative: String

Identifier that updated client could catch.

Trait Implementations

impl Default for ApiCap[src]

impl Clone for ApiCap[src]

impl PartialEq<ApiCap> for ApiCap[src]

impl Debug for ApiCap[src]

impl Message for ApiCap[src]

Auto Trait Implementations

impl Send for ApiCap

impl Unpin for ApiCap

impl Sync for ApiCap

impl UnwindSafe for ApiCap

impl RefUnwindSafe for ApiCap

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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