pub struct ActorInstance {
pub annotations: Option<AnnotationMap>,
pub image_ref: Option<String>,
pub instance_id: String,
pub revision: i32,
pub max_concurrent: u16,
}
Fields§
§annotations: Option<AnnotationMap>
The annotations that were used in the start request that produced this actor instance
image_ref: Option<String>
Image reference for this actor, if applicable
instance_id: String
This instance’s unique ID (guid)
revision: i32
The revision number for this actor instance
max_concurrent: u16
The maximum number of concurrent requests this instance can handle
Trait Implementations§
source§impl Clone for ActorInstance
impl Clone for ActorInstance
source§fn clone(&self) -> ActorInstance
fn clone(&self) -> ActorInstance
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 ActorInstance
impl Debug for ActorInstance
source§impl Default for ActorInstance
impl Default for ActorInstance
source§fn default() -> ActorInstance
fn default() -> ActorInstance
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActorInstance
impl<'de> Deserialize<'de> for ActorInstance
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 for ActorInstance
impl PartialEq for ActorInstance
source§fn eq(&self, other: &ActorInstance) -> bool
fn eq(&self, other: &ActorInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ActorInstance
impl Serialize for ActorInstance
impl Eq for ActorInstance
impl StructuralEq for ActorInstance
impl StructuralPartialEq for ActorInstance
Auto Trait Implementations§
impl RefUnwindSafe for ActorInstance
impl Send for ActorInstance
impl Sync for ActorInstance
impl Unpin for ActorInstance
impl UnwindSafe for ActorInstance
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