#[non_exhaustive]pub struct ScaleComponentCommand { /* private fields */ }
Expand description
Command a host to scale a component
Implementations§
source§impl ScaleComponentCommand
impl ScaleComponentCommand
pub fn component_ref(&self) -> &str
pub fn component_id(&self) -> &str
pub fn allow_update(&self) -> bool
pub fn config(&self) -> &Vec<String>
pub fn annotations(&self) -> Option<&BTreeMap<String, String>>
pub fn max_instances(&self) -> u32
pub fn host_id(&self) -> &str
pub fn builder() -> ScaleComponentCommandBuilder
Trait Implementations§
source§impl Clone for ScaleComponentCommand
impl Clone for ScaleComponentCommand
source§fn clone(&self) -> ScaleComponentCommand
fn clone(&self) -> ScaleComponentCommand
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 ScaleComponentCommand
impl Debug for ScaleComponentCommand
source§impl Default for ScaleComponentCommand
impl Default for ScaleComponentCommand
source§fn default() -> ScaleComponentCommand
fn default() -> ScaleComponentCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScaleComponentCommand
impl<'de> Deserialize<'de> for ScaleComponentCommand
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 ScaleComponentCommand
impl PartialEq for ScaleComponentCommand
source§impl Serialize for ScaleComponentCommand
impl Serialize for ScaleComponentCommand
impl Eq for ScaleComponentCommand
impl StructuralPartialEq for ScaleComponentCommand
Auto Trait Implementations§
impl Freeze for ScaleComponentCommand
impl RefUnwindSafe for ScaleComponentCommand
impl Send for ScaleComponentCommand
impl Sync for ScaleComponentCommand
impl Unpin for ScaleComponentCommand
impl UnwindSafe for ScaleComponentCommand
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.