pub struct UpdateActorCommand {
pub actor_id: String,
pub annotations: Option<AnnotationMap>,
pub host_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: StringThe 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: StringThe host ID of the host to perform the live update
new_actor_ref: StringThe 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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateActorCommand) -> bool
fn ne(&self, other: &UpdateActorCommand) -> bool
This method tests for !=.
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 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