pub struct StopProvider {
pub provider_id: String,
pub host_id: String,
pub model_name: String,
pub annotations: BTreeMap<String, String>,
}
Expand description
Struct for the StopProvider command
Fields§
§provider_id: String
The ID of the provider to stop
host_id: String
The host ID on which to stop the provider
model_name: String
The name of the model/manifest that generated this command
annotations: BTreeMap<String, String>
Additional annotations to attach on this command
Trait Implementations§
Source§impl Clone for StopProvider
impl Clone for StopProvider
Source§fn clone(&self) -> StopProvider
fn clone(&self) -> StopProvider
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 StopProvider
impl Debug for StopProvider
Source§impl Default for StopProvider
impl Default for StopProvider
Source§fn default() -> StopProvider
fn default() -> StopProvider
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StopProvider
impl<'de> Deserialize<'de> for StopProvider
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 From<StopProvider> for Command
impl From<StopProvider> for Command
Source§fn from(value: StopProvider) -> Command
fn from(value: StopProvider) -> Command
Converts to this type from the input type.
Source§impl Hash for StopProvider
impl Hash for StopProvider
Source§impl PartialEq for StopProvider
impl PartialEq for StopProvider
Source§impl Serialize for StopProvider
impl Serialize for StopProvider
impl Eq for StopProvider
Auto Trait Implementations§
impl Freeze for StopProvider
impl RefUnwindSafe for StopProvider
impl Send for StopProvider
impl Sync for StopProvider
impl Unpin for StopProvider
impl UnwindSafe for StopProvider
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.