pub struct FlowTaskLease {
pub lease_id: String,
pub task: FlowTask,
}Expand description
Leased task returned by a queue worker before acknowledgement.
Fields§
§lease_id: String§task: FlowTaskTrait Implementations§
Source§impl Clone for FlowTaskLease
impl Clone for FlowTaskLease
Source§fn clone(&self) -> FlowTaskLease
fn clone(&self) -> FlowTaskLease
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 FlowTaskLease
impl Debug for FlowTaskLease
Source§impl<'de> Deserialize<'de> for FlowTaskLease
impl<'de> Deserialize<'de> for FlowTaskLease
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 FlowTaskLease
impl PartialEq for FlowTaskLease
Source§fn eq(&self, other: &FlowTaskLease) -> bool
fn eq(&self, other: &FlowTaskLease) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlowTaskLease
impl Serialize for FlowTaskLease
impl StructuralPartialEq for FlowTaskLease
Auto Trait Implementations§
impl Freeze for FlowTaskLease
impl RefUnwindSafe for FlowTaskLease
impl Send for FlowTaskLease
impl Sync for FlowTaskLease
impl Unpin for FlowTaskLease
impl UnsafeUnpin for FlowTaskLease
impl UnwindSafe for FlowTaskLease
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