pub struct WorkerMetadata {
pub worker_id: WorkerId,
pub args: Vec<String>,
pub env: Vec<(String, String)>,
pub status: WorkerStatus,
pub component_version: u64,
pub retry_count: u64,
}
Fields§
§worker_id: WorkerId
§args: Vec<String>
§env: Vec<(String, String)>
§status: WorkerStatus
§component_version: u64
§retry_count: u64
Trait Implementations§
Source§impl Clone for WorkerMetadata
impl Clone for WorkerMetadata
Source§fn clone(&self) -> WorkerMetadata
fn clone(&self) -> WorkerMetadata
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for WorkerMetadata
impl RefUnwindSafe for WorkerMetadata
impl Send for WorkerMetadata
impl Sync for WorkerMetadata
impl Unpin for WorkerMetadata
impl UnwindSafe for WorkerMetadata
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