pub struct BrokerCapability {
pub enabled: bool,
pub secret_names: Vec<String>,
pub state_namespace: Option<String>,
pub state_write: bool,
pub logging: bool,
pub metrics: bool,
pub progress: bool,
}Expand description
Fine-grained host services requested by a provider.
Fields§
§enabled: bool§secret_names: Vec<String>§state_namespace: Option<String>§state_write: bool§logging: bool§metrics: bool§progress: boolTrait Implementations§
Source§impl Clone for BrokerCapability
impl Clone for BrokerCapability
Source§fn clone(&self) -> BrokerCapability
fn clone(&self) -> BrokerCapability
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BrokerCapability
impl Debug for BrokerCapability
Source§impl Default for BrokerCapability
impl Default for BrokerCapability
Source§fn default() -> BrokerCapability
fn default() -> BrokerCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrokerCapability
impl<'de> Deserialize<'de> for BrokerCapability
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 BrokerCapability
impl PartialEq for BrokerCapability
Source§fn eq(&self, other: &BrokerCapability) -> bool
fn eq(&self, other: &BrokerCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BrokerCapability
impl Serialize for BrokerCapability
impl Eq for BrokerCapability
impl StructuralPartialEq for BrokerCapability
Auto Trait Implementations§
impl Freeze for BrokerCapability
impl RefUnwindSafe for BrokerCapability
impl Send for BrokerCapability
impl Sync for BrokerCapability
impl Unpin for BrokerCapability
impl UnsafeUnpin for BrokerCapability
impl UnwindSafe for BrokerCapability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.