pub struct StopProviderCommand {
pub annotations: Option<HashMap<String, String, RandomState>>,
pub contract_id: String,
pub host_id: String,
pub link_name: String,
pub provider_ref: String,
}Expand description
A request to stop the given provider on the indicated host
Fields
annotations: Option<HashMap<String, String, RandomState>>Optional set of annotations used to describe the nature of this stop request
contract_id: StringContract ID of the capability provider
host_id: StringHost ID on which to stop the provider
link_name: StringLink name for this provider
provider_ref: StringReference for the capability provider. Can be any of the forms of uniquely identifying a provider
Trait Implementations
Returns the “default value” for a type. Read more
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StopProviderCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StopProviderCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for StopProviderCommand
impl Send for StopProviderCommand
impl Sync for StopProviderCommand
impl Unpin for StopProviderCommand
impl UnwindSafe for StopProviderCommand
Blanket Implementations
Mutably borrows from an owned value. Read more