pub struct PendingApproval { /* private fields */ }Expand description
Durable pending approval reconstructed from canonical records.
Implementations§
Source§impl PendingApproval
impl PendingApproval
Sourcepub const fn approval_id(&self) -> ApprovalId
pub const fn approval_id(&self) -> ApprovalId
Returns the approval identity.
Sourcepub const fn tool_call_id(&self) -> ToolCallId
pub const fn tool_call_id(&self) -> ToolCallId
Returns the tool call awaiting a decision.
Sourcepub const fn expires_at(&self) -> ProtocolTimestamp
pub const fn expires_at(&self) -> ProtocolTimestamp
Returns the caller-clock expiry boundary.
Sourcepub const fn requested_at(&self) -> ProtocolTimestamp
pub const fn requested_at(&self) -> ProtocolTimestamp
Returns when the canonical request became durable.
Trait Implementations§
Source§impl Clone for PendingApproval
impl Clone for PendingApproval
Source§fn clone(&self) -> PendingApproval
fn clone(&self) -> PendingApproval
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 PendingApproval
impl Debug for PendingApproval
impl Eq for PendingApproval
Source§impl PartialEq for PendingApproval
impl PartialEq for PendingApproval
impl StructuralPartialEq for PendingApproval
Auto Trait Implementations§
impl Freeze for PendingApproval
impl RefUnwindSafe for PendingApproval
impl Send for PendingApproval
impl Sync for PendingApproval
impl Unpin for PendingApproval
impl UnsafeUnpin for PendingApproval
impl UnwindSafe for PendingApproval
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