pub struct ActorRecord {
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
Actor projection record.
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 ActorRecord
impl Clone for ActorRecord
Source§fn clone(&self) -> ActorRecord
fn clone(&self) -> ActorRecord
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 moreAuto Trait Implementations§
impl Freeze for ActorRecord
impl RefUnwindSafe for ActorRecord
impl Send for ActorRecord
impl Sync for ActorRecord
impl Unpin for ActorRecord
impl UnsafeUnpin for ActorRecord
impl UnwindSafe for ActorRecord
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