pub struct CreateTaskOptions {
pub ttl: Option<i64>,
pub poll_interval: Option<i64>,
pub meta: Option<Map<String, Value>>,
}Fields§
§ttl: Option<i64>Actual retention duration from creation in milliseconds, None for unlimited.
poll_interval: Option<i64>§meta: Option<Map<String, Value>>Additional context to pass to the task store.
Auto Trait Implementations§
impl Freeze for CreateTaskOptions
impl RefUnwindSafe for CreateTaskOptions
impl Send for CreateTaskOptions
impl Sync for CreateTaskOptions
impl Unpin for CreateTaskOptions
impl UnsafeUnpin for CreateTaskOptions
impl UnwindSafe for CreateTaskOptions
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