pub struct FleetInboxEntry {
pub run_id: FleetRunId,
pub task_id: String,
pub priority: i32,
pub enqueued_at: String,
pub lease_deadline: Option<String>,
pub attempts: u32,
}Expand description
Durable inbox entry: a task waiting to be leased to a worker.
Fields§
§run_id: FleetRunId§task_id: String§priority: i32§enqueued_at: String§lease_deadline: Option<String>§attempts: u32Trait Implementations§
Source§impl Clone for FleetInboxEntry
impl Clone for FleetInboxEntry
Source§fn clone(&self) -> FleetInboxEntry
fn clone(&self) -> FleetInboxEntry
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 FleetInboxEntry
impl Debug for FleetInboxEntry
Source§impl<'de> Deserialize<'de> for FleetInboxEntry
impl<'de> Deserialize<'de> for FleetInboxEntry
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 FleetInboxEntry
impl RefUnwindSafe for FleetInboxEntry
impl Send for FleetInboxEntry
impl Sync for FleetInboxEntry
impl Unpin for FleetInboxEntry
impl UnsafeUnpin for FleetInboxEntry
impl UnwindSafe for FleetInboxEntry
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