#[non_exhaustive]pub struct UpdateComponentCommandBuilder { /* private fields */ }
Expand description
Builder for UpdateComponentCommand
s
Implementations§
source§impl UpdateComponentCommandBuilder
impl UpdateComponentCommandBuilder
pub fn new() -> Self
pub fn host_id(self, v: &str) -> Self
pub fn component_id(self, v: &str) -> Self
pub fn new_component_ref(self, v: &str) -> Self
pub fn annotations(self, v: impl Into<BTreeMap<String, String>>) -> Self
pub fn build( self, ) -> Result<UpdateComponentCommand, Box<dyn Error + Send + Sync>>
Trait Implementations§
source§impl Clone for UpdateComponentCommandBuilder
impl Clone for UpdateComponentCommandBuilder
source§fn clone(&self) -> UpdateComponentCommandBuilder
fn clone(&self) -> UpdateComponentCommandBuilder
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 Default for UpdateComponentCommandBuilder
impl Default for UpdateComponentCommandBuilder
source§fn default() -> UpdateComponentCommandBuilder
fn default() -> UpdateComponentCommandBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateComponentCommandBuilder
impl PartialEq for UpdateComponentCommandBuilder
source§fn eq(&self, other: &UpdateComponentCommandBuilder) -> bool
fn eq(&self, other: &UpdateComponentCommandBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for UpdateComponentCommandBuilder
impl StructuralPartialEq for UpdateComponentCommandBuilder
Auto Trait Implementations§
impl Freeze for UpdateComponentCommandBuilder
impl RefUnwindSafe for UpdateComponentCommandBuilder
impl Send for UpdateComponentCommandBuilder
impl Sync for UpdateComponentCommandBuilder
impl Unpin for UpdateComponentCommandBuilder
impl UnwindSafe for UpdateComponentCommandBuilder
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.