#[non_exhaustive]pub struct UpdateComponentCommand { /* private fields */ }
Expand description
A command instructing a specific host to perform a live update on the indicated component by supplying a new image reference. Note that live updates are only possible through image references
Implementations§
source§impl UpdateComponentCommand
impl UpdateComponentCommand
pub fn host_id(&self) -> &str
pub fn component_id(&self) -> &str
pub fn new_component_ref(&self) -> &str
pub fn annotations(&self) -> Option<&BTreeMap<String, String>>
pub fn builder() -> UpdateComponentCommandBuilder
Trait Implementations§
source§impl Clone for UpdateComponentCommand
impl Clone for UpdateComponentCommand
source§fn clone(&self) -> UpdateComponentCommand
fn clone(&self) -> UpdateComponentCommand
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 UpdateComponentCommand
impl Debug for UpdateComponentCommand
source§impl Default for UpdateComponentCommand
impl Default for UpdateComponentCommand
source§fn default() -> UpdateComponentCommand
fn default() -> UpdateComponentCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateComponentCommand
impl<'de> Deserialize<'de> for UpdateComponentCommand
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 UpdateComponentCommand
impl PartialEq for UpdateComponentCommand
source§impl Serialize for UpdateComponentCommand
impl Serialize for UpdateComponentCommand
impl Eq for UpdateComponentCommand
impl StructuralPartialEq for UpdateComponentCommand
Auto Trait Implementations§
impl Freeze for UpdateComponentCommand
impl RefUnwindSafe for UpdateComponentCommand
impl Send for UpdateComponentCommand
impl Sync for UpdateComponentCommand
impl Unpin for UpdateComponentCommand
impl UnwindSafe for UpdateComponentCommand
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.