pub struct Authority {
pub owner: LeaseOwner,
pub expires_at: Timestamp,
pub remaining_ms: u64,
pub execution_remaining_ms: u64,
pub renew_sequence: u64,
pub cancel_requested: bool,
pub dispatch_allowed: bool,
}Expand description
Current authority sampled for this response; never replay a cached TTL.
Fields§
§owner: LeaseOwner§expires_at: Timestamp§remaining_ms: u64§execution_remaining_ms: u64Remaining user-work budget; cleanup/reporting can retain a longer lease.
renew_sequence: u64§cancel_requested: bool§dispatch_allowed: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Authority
impl<'de> Deserialize<'de> for Authority
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
impl Eq for Authority
impl StructuralPartialEq for Authority
Auto Trait Implementations§
impl Freeze for Authority
impl RefUnwindSafe for Authority
impl Send for Authority
impl Sync for Authority
impl Unpin for Authority
impl UnsafeUnpin for Authority
impl UnwindSafe for Authority
Blanket Implementations§
impl<T> ArtifactLease for T
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