[][src]Enum latticeclient::InventoryResponse

pub enum InventoryResponse {
    Host(HostProfile),
    Actors {
        host: String,
        actors: Vec<Claims<Actor>>,
    },
    Bindings {
        host: String,
        bindings: Vec<Binding>,
    },
    Capabilities {
        host: String,
        capabilities: Vec<HostedCapability>,
    },
}

A response to a lattice probe for inventory. Note that these responses are returned through regular (non-queue) subscriptions via a scatter-gather like pattern, so the client is responsible for aggregating many of these replies.

Variants

A single host probe response

Actors

A list of all registered actors within a host

Fields of Actors

host: Stringactors: Vec<Claims<Actor>>
Bindings

A list of configuration bindings of actors originating from the given host

Fields of Bindings

host: Stringbindings: Vec<Binding>
Capabilities

A list of capability providers currently running within the given host

Fields of Capabilities

host: Stringcapabilities: Vec<HostedCapability>

Trait Implementations

impl Clone for InventoryResponse[src]

impl Debug for InventoryResponse[src]

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

impl PartialEq<InventoryResponse> for InventoryResponse[src]

impl Serialize for InventoryResponse[src]

impl StructuralPartialEq for InventoryResponse[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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,