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
sourceimpl Clone for UpdateActorCommand
impl Clone for UpdateActorCommand
sourcefn clone(&self) -> UpdateActorCommand
fn clone(&self) -> UpdateActorCommand
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 moresourceimpl Debug for UpdateActorCommand
impl Debug for UpdateActorCommand
sourceimpl Default for UpdateActorCommand
impl Default for UpdateActorCommand
sourcefn default() -> UpdateActorCommand
fn default() -> UpdateActorCommand
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateActorCommand
impl<'de> Deserialize<'de> for UpdateActorCommand
sourcefn 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
sourceimpl PartialEq<UpdateActorCommand> for UpdateActorCommand
impl PartialEq<UpdateActorCommand> for UpdateActorCommand
sourcefn eq(&self, other: &UpdateActorCommand) -> bool
fn eq(&self, other: &UpdateActorCommand) -> bool
sourceimpl Serialize for UpdateActorCommand
impl Serialize for UpdateActorCommand
impl Eq for UpdateActorCommand
impl StructuralEq for UpdateActorCommand
impl StructuralPartialEq for UpdateActorCommand
Auto Trait Implementations
impl RefUnwindSafe for UpdateActorCommand
impl Send for UpdateActorCommand
impl Sync for UpdateActorCommand
impl Unpin for UpdateActorCommand
impl UnwindSafe for UpdateActorCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more