pub struct TargetReservation {
pub reservation_id: String,
pub revision: u64,
pub intent_id: String,
pub session_id: String,
pub principal_id: String,
pub execution_group_id: Option<String>,
pub agent_id: Option<String>,
pub scope: TargetReservationScope,
pub state: String,
pub acquired_at: String,
pub expires_at: String,
pub terminal_reason: Option<String>,
}Expand description
Non-authoritative, expiring planner intent for multi-agent conflict checks.
Fields§
§reservation_id: StringUnique reservation identifier.
revision: u64Monotonic reservation revision.
intent_id: StringThe planner intent identifier this reservation serves.
session_id: StringThe session that holds the reservation.
principal_id: StringThe principal that holds the reservation.
execution_group_id: Option<String>Optional execution group for multi-agent coordination.
agent_id: Option<String>Optional agent identifier holding the reservation.
scope: TargetReservationScopeThe app/window scope of the reservation.
state: StringReservation state (e.g. active).
acquired_at: StringRFC 3339 acquisition timestamp.
expires_at: StringRFC 3339 expiry timestamp.
terminal_reason: Option<String>Reason the reservation reached a terminal state, when applicable.
Trait Implementations§
Source§impl Clone for TargetReservation
impl Clone for TargetReservation
Source§fn clone(&self) -> TargetReservation
fn clone(&self) -> TargetReservation
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 TargetReservation
impl Debug for TargetReservation
Source§impl<'de> Deserialize<'de> for TargetReservation
impl<'de> Deserialize<'de> for TargetReservation
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 TargetReservation
impl PartialEq for TargetReservation
Source§impl Serialize for TargetReservation
impl Serialize for TargetReservation
impl StructuralPartialEq for TargetReservation
Auto Trait Implementations§
impl Freeze for TargetReservation
impl RefUnwindSafe for TargetReservation
impl Send for TargetReservation
impl Sync for TargetReservation
impl Unpin for TargetReservation
impl UnsafeUnpin for TargetReservation
impl UnwindSafe for TargetReservation
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