pub struct BackgroundTaskRequest {Show 22 fields
pub id: String,
pub description: String,
pub origin: String,
pub func_name: String,
pub result: String,
pub timeout: i32,
pub result_ttl: i32,
pub created_at: String,
pub enqueued_at: String,
pub started_at: String,
pub ended_at: String,
pub worker_name: String,
pub meta: HashMap<String, Value>,
pub last_heartbeat: String,
pub is_finished: bool,
pub is_queued: bool,
pub is_failed: bool,
pub is_started: bool,
pub is_deferred: bool,
pub is_canceled: bool,
pub is_scheduled: bool,
pub is_stopped: bool,
}Fields§
§id: String§description: String§origin: String§func_name: String§result: String§timeout: i32§result_ttl: i32§created_at: String§enqueued_at: String§started_at: String§ended_at: String§worker_name: String§meta: HashMap<String, Value>§last_heartbeat: String§is_finished: bool§is_queued: bool§is_failed: bool§is_started: bool§is_deferred: bool§is_canceled: bool§is_scheduled: bool§is_stopped: boolImplementations§
Source§impl BackgroundTaskRequest
impl BackgroundTaskRequest
pub fn new( id: String, description: String, origin: String, func_name: String, result: String, timeout: i32, result_ttl: i32, created_at: String, enqueued_at: String, started_at: String, ended_at: String, worker_name: String, meta: HashMap<String, Value>, last_heartbeat: String, is_finished: bool, is_queued: bool, is_failed: bool, is_started: bool, is_deferred: bool, is_canceled: bool, is_scheduled: bool, is_stopped: bool, ) -> BackgroundTaskRequest
Trait Implementations§
Source§impl Clone for BackgroundTaskRequest
impl Clone for BackgroundTaskRequest
Source§fn clone(&self) -> BackgroundTaskRequest
fn clone(&self) -> BackgroundTaskRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 BackgroundTaskRequest
impl Debug for BackgroundTaskRequest
Source§impl Default for BackgroundTaskRequest
impl Default for BackgroundTaskRequest
Source§fn default() -> BackgroundTaskRequest
fn default() -> BackgroundTaskRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackgroundTaskRequest
impl<'de> Deserialize<'de> for BackgroundTaskRequest
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 BackgroundTaskRequest
impl PartialEq for BackgroundTaskRequest
Source§impl Serialize for BackgroundTaskRequest
impl Serialize for BackgroundTaskRequest
impl StructuralPartialEq for BackgroundTaskRequest
Auto Trait Implementations§
impl Freeze for BackgroundTaskRequest
impl RefUnwindSafe for BackgroundTaskRequest
impl Send for BackgroundTaskRequest
impl Sync for BackgroundTaskRequest
impl Unpin for BackgroundTaskRequest
impl UnwindSafe for BackgroundTaskRequest
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