pub struct AgentRegistration {
pub session_id: String,
pub agent_id: String,
pub pid: u32,
pub registered_at: u64,
pub last_heartbeat: u64,
pub metadata: Value,
}Fields§
§session_id: String§agent_id: String§pid: u32§registered_at: u64§last_heartbeat: u64§metadata: ValueTrait Implementations§
Source§impl Clone for AgentRegistration
impl Clone for AgentRegistration
Source§fn clone(&self) -> AgentRegistration
fn clone(&self) -> AgentRegistration
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 AgentRegistration
impl Debug for AgentRegistration
Source§impl<'de> Deserialize<'de> for AgentRegistration
impl<'de> Deserialize<'de> for AgentRegistration
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
Auto Trait Implementations§
impl Freeze for AgentRegistration
impl RefUnwindSafe for AgentRegistration
impl Send for AgentRegistration
impl Sync for AgentRegistration
impl Unpin for AgentRegistration
impl UnsafeUnpin for AgentRegistration
impl UnwindSafe for AgentRegistration
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