pub struct UpdateActorCommand {
pub actor_id: String,
pub annotations: Option<AnnotationMap>,
pub host_id: String,
pub lattice_id: String,
pub new_actor_ref: String,
}
Expand description
A command instructing a specific host to perform a live update on the indicated actor by supplying a new image reference. Note that live updates are only possible through image references
Fields§
§actor_id: String
The actor’s 56-character unique ID
annotations: Option<AnnotationMap>
Optional set of annotations used to describe the nature of this update request. Only actor instances that have matching annotations will be upgraded, allowing for instance isolation by
host_id: String
The host ID of the host to perform the live update
lattice_id: String
The ID of the lattice on which this request will be performed
new_actor_ref: String
The new image reference of the upgraded version of this actor
Trait Implementations§
source§impl Clone for UpdateActorCommand
impl Clone for UpdateActorCommand
source§fn clone(&self) -> UpdateActorCommand
fn clone(&self) -> UpdateActorCommand
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 UpdateActorCommand
impl Debug for UpdateActorCommand
source§impl Default for UpdateActorCommand
impl Default for UpdateActorCommand
source§fn default() -> UpdateActorCommand
fn default() -> UpdateActorCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateActorCommand
impl<'de> Deserialize<'de> for UpdateActorCommand
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<UpdateActorCommand> for UpdateActorCommand
impl PartialEq<UpdateActorCommand> for UpdateActorCommand
source§fn eq(&self, other: &UpdateActorCommand) -> bool
fn eq(&self, other: &UpdateActorCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.