pub struct AgentReservationReport {
pub lease_id: String,
pub actor_session_id: Option<String>,
pub thread: String,
pub anchor_state: Option<String>,
pub anchor_root: Option<String>,
pub task_assignment_id: Option<String>,
pub status: String,
pub path: Option<String>,
pub heartbeat_at: String,
pub lease_expires_at: String,
pub liveness: String,
}Expand description
Machine JSON domain fields for one reservation (stable field names).
Mirrors the public agent list / reservation envelope body without the
verification wrapper. task is the registry attach_reason (CLI contract).
Fields§
§lease_id: String§actor_session_id: Option<String>§thread: String§anchor_state: Option<String>§anchor_root: Option<String>§task_assignment_id: Option<String>§status: String§path: Option<String>§heartbeat_at: String§lease_expires_at: String§liveness: StringTrait Implementations§
Source§impl Clone for AgentReservationReport
impl Clone for AgentReservationReport
Source§fn clone(&self) -> AgentReservationReport
fn clone(&self) -> AgentReservationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentReservationReport
impl Debug for AgentReservationReport
Source§impl From<&WriterLease> for AgentReservationReport
impl From<&WriterLease> for AgentReservationReport
Source§fn from(lease: &WriterLease) -> Self
fn from(lease: &WriterLease) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AgentReservationReport
impl PartialEq for AgentReservationReport
Source§impl Serialize for AgentReservationReport
impl Serialize for AgentReservationReport
impl StructuralPartialEq for AgentReservationReport
Auto Trait Implementations§
impl Freeze for AgentReservationReport
impl RefUnwindSafe for AgentReservationReport
impl Send for AgentReservationReport
impl Sync for AgentReservationReport
impl Unpin for AgentReservationReport
impl UnsafeUnpin for AgentReservationReport
impl UnwindSafe for AgentReservationReport
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