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
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
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more