pub struct ActorDescription {
pub id: String,
pub image_ref: Option<String>,
pub instances: Vec<ActorInstance>,
pub name: Option<String>,
}
Expand description
A summary description of an actor within a host inventory
Fields§
§id: String
Actor’s 56-character unique ID
image_ref: Option<String>
Image reference for this actor, if applicable
instances: Vec<ActorInstance>
The individual instances of this actor that are running
name: Option<String>
Name of this actor, if one exists
Trait Implementations§
source§impl Clone for ActorDescription
impl Clone for ActorDescription
source§fn clone(&self) -> ActorDescription
fn clone(&self) -> ActorDescription
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 ActorDescription
impl Debug for ActorDescription
source§impl Default for ActorDescription
impl Default for ActorDescription
source§fn default() -> ActorDescription
fn default() -> ActorDescription
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActorDescription
impl<'de> Deserialize<'de> for ActorDescription
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<ActorDescription> for ActorDescription
impl PartialEq<ActorDescription> for ActorDescription
source§fn eq(&self, other: &ActorDescription) -> bool
fn eq(&self, other: &ActorDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActorDescription
impl Serialize for ActorDescription
impl Eq for ActorDescription
impl StructuralEq for ActorDescription
impl StructuralPartialEq for ActorDescription
Auto Trait Implementations§
impl RefUnwindSafe for ActorDescription
impl Send for ActorDescription
impl Sync for ActorDescription
impl Unpin for ActorDescription
impl UnwindSafe for ActorDescription
Blanket Implementations§
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<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>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request