pub struct WorkflowLeaseOptions {
pub owner: String,
pub ttl: Duration,
}Expand description
Per-workflow lease acquisition request.
Fields§
§owner: StringWorker/process identity that owns the lease while executing.
ttl: DurationLease time-to-live. Backends should expire abandoned leases after this.
Trait Implementations§
Source§impl Clone for WorkflowLeaseOptions
impl Clone for WorkflowLeaseOptions
Source§impl Debug for WorkflowLeaseOptions
impl Debug for WorkflowLeaseOptions
impl Eq for WorkflowLeaseOptions
Source§impl PartialEq for WorkflowLeaseOptions
impl PartialEq for WorkflowLeaseOptions
impl StructuralPartialEq for WorkflowLeaseOptions
Auto Trait Implementations§
impl Freeze for WorkflowLeaseOptions
impl RefUnwindSafe for WorkflowLeaseOptions
impl Send for WorkflowLeaseOptions
impl Sync for WorkflowLeaseOptions
impl Unpin for WorkflowLeaseOptions
impl UnsafeUnpin for WorkflowLeaseOptions
impl UnwindSafe for WorkflowLeaseOptions
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