pub struct SnapshotActor {
pub actor_id: ActorId,
pub identity: String,
pub capabilities: Vec<String>,
pub department: Option<String>,
pub heartbeat_interval_secs: u64,
pub tenant_id: Option<TenantId>,
pub registered_at: u64,
pub last_heartbeat_at: Option<u64>,
pub deregistered_at: Option<u64>,
}Expand description
Snapshot representation of a registered actor.
Fields§
§actor_id: ActorId§identity: String§capabilities: Vec<String>§department: Option<String>§heartbeat_interval_secs: u64§tenant_id: Option<TenantId>§registered_at: u64§last_heartbeat_at: Option<u64>§deregistered_at: Option<u64>Trait Implementations§
Source§impl Clone for SnapshotActor
impl Clone for SnapshotActor
Source§fn clone(&self) -> SnapshotActor
fn clone(&self) -> SnapshotActor
Returns a duplicate 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 SnapshotActor
impl Debug for SnapshotActor
Source§impl<'de> Deserialize<'de> for SnapshotActor
impl<'de> Deserialize<'de> for SnapshotActor
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 SnapshotActor
impl PartialEq for SnapshotActor
Source§impl Serialize for SnapshotActor
impl Serialize for SnapshotActor
impl Eq for SnapshotActor
impl StructuralPartialEq for SnapshotActor
Auto Trait Implementations§
impl Freeze for SnapshotActor
impl RefUnwindSafe for SnapshotActor
impl Send for SnapshotActor
impl Sync for SnapshotActor
impl Unpin for SnapshotActor
impl UnsafeUnpin for SnapshotActor
impl UnwindSafe for SnapshotActor
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