pub struct ScaleActorCommand {
pub actor_id: String,
pub actor_ref: String,
pub annotations: Option<HashMap<String, String, RandomState>>,
pub count: u16,
pub host_id: String,
}Fields
actor_id: StringPublic Key ID of the actor to scale
actor_ref: StringReference for the actor. Can be any of the acceptable forms of unique identification
annotations: Option<HashMap<String, String, RandomState>>Optional set of annotations used to describe the nature of this actor scale command. For example, autonomous agents may wish to “tag” scale requests as part of a given deployment
count: u16The target number of actors
host_id: StringHost ID on which to scale this actor
Trait Implementations
sourceimpl Clone for ScaleActorCommand
impl Clone for ScaleActorCommand
sourcepub fn clone(&self) -> ScaleActorCommand
pub fn clone(&self) -> ScaleActorCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ScaleActorCommand
impl Debug for ScaleActorCommand
sourceimpl Default for ScaleActorCommand
impl Default for ScaleActorCommand
sourcepub fn default() -> ScaleActorCommand
pub fn default() -> ScaleActorCommand
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ScaleActorCommand
impl<'de> Deserialize<'de> for ScaleActorCommand
sourcepub fn deserialize<__D>(
__deserializer: __D
) -> Result<ScaleActorCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<ScaleActorCommand, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ScaleActorCommand> for ScaleActorCommand
impl PartialEq<ScaleActorCommand> for ScaleActorCommand
sourcepub fn eq(&self, other: &ScaleActorCommand) -> bool
pub fn eq(&self, other: &ScaleActorCommand) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &ScaleActorCommand) -> bool
pub fn ne(&self, other: &ScaleActorCommand) -> bool
This method tests for !=.
sourceimpl Serialize for ScaleActorCommand
impl Serialize for ScaleActorCommand
sourcepub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ScaleActorCommand
impl StructuralEq for ScaleActorCommand
impl StructuralPartialEq for ScaleActorCommand
Auto Trait Implementations
impl RefUnwindSafe for ScaleActorCommand
impl Send for ScaleActorCommand
impl Sync for ScaleActorCommand
impl Unpin for ScaleActorCommand
impl UnwindSafe for ScaleActorCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more