pub enum InventoryResponse {
Host(HostProfile),
Actors {
host: String,
actors: Vec<Claims<Actor>>,
},
Bindings {
host: String,
bindings: Vec<Binding>,
},
Capabilities {
host: String,
capabilities: Vec<HostedCapability>,
},
}
Expand description
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§
Host(HostProfile)
A single host probe response
Actors
A list of all registered actors within a host
Bindings
A list of configuration bindings of actors originating from the given host
Capabilities
A list of capability providers currently running within the given host
Trait Implementations§
Source§impl Clone for InventoryResponse
impl Clone for InventoryResponse
Source§fn clone(&self) -> InventoryResponse
fn clone(&self) -> InventoryResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InventoryResponse
impl Debug for InventoryResponse
Source§impl<'de> Deserialize<'de> for InventoryResponse
impl<'de> Deserialize<'de> for InventoryResponse
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
Source§impl PartialEq for InventoryResponse
impl PartialEq for InventoryResponse
Source§impl Serialize for InventoryResponse
impl Serialize for InventoryResponse
impl StructuralPartialEq for InventoryResponse
Auto Trait Implementations§
impl Freeze for InventoryResponse
impl RefUnwindSafe for InventoryResponse
impl Send for InventoryResponse
impl Sync for InventoryResponse
impl Unpin for InventoryResponse
impl UnwindSafe for InventoryResponse
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