pub struct StopProviderCommand {
pub annotations: Option<AnnotationMap>,
pub contract_id: String,
pub host_id: String,
pub lattice_id: String,
pub link_name: String,
pub provider_id: String,
}
Expand description
A request to stop the given provider on the indicated host
Fields§
§annotations: Option<AnnotationMap>
Optional set of annotations used to describe the nature of this stop request
contract_id: String
Contract ID of the capability provider
host_id: String
Host ID on which to stop the provider
lattice_id: String
The ID of the lattice on which this request will be performed
link_name: String
Link name for this provider
provider_id: String
The public key of the capability provider to stop
Trait Implementations§
source§impl Clone for StopProviderCommand
impl Clone for StopProviderCommand
source§fn clone(&self) -> StopProviderCommand
fn clone(&self) -> StopProviderCommand
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 StopProviderCommand
impl Debug for StopProviderCommand
source§impl Default for StopProviderCommand
impl Default for StopProviderCommand
source§fn default() -> StopProviderCommand
fn default() -> StopProviderCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StopProviderCommand
impl<'de> Deserialize<'de> for StopProviderCommand
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<StopProviderCommand> for StopProviderCommand
impl PartialEq<StopProviderCommand> for StopProviderCommand
source§fn eq(&self, other: &StopProviderCommand) -> bool
fn eq(&self, other: &StopProviderCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StopProviderCommand
impl Serialize for StopProviderCommand
impl Eq for StopProviderCommand
impl StructuralEq for StopProviderCommand
impl StructuralPartialEq for StopProviderCommand
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§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.