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: 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
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 ==
.source§impl 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§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more