pub struct Worker {
pub activity: String,
pub current_job: Option<u32>,
pub description: String,
pub direct_messaging_queue_name: String,
pub instance_id: String,
pub label: String,
pub queue_name: String,
pub sdk_version: String,
pub short_description: String,
pub system_info: SystemInfo,
pub version: String,
}Fields§
§activity: String§current_job: Option<u32>§description: String§direct_messaging_queue_name: String§instance_id: String§label: String§queue_name: String§sdk_version: String§short_description: String§system_info: SystemInfo§version: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Worker
impl<'de> Deserialize<'de> for Worker
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
impl StructuralPartialEq for Worker
Auto Trait Implementations§
impl Freeze for Worker
impl RefUnwindSafe for Worker
impl Send for Worker
impl Sync for Worker
impl Unpin for Worker
impl UnwindSafe for Worker
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