pub struct WorkerKey(pub String);Expand description
Identifier for the worker/agent that produced the atom.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorkerKey
impl<'de> Deserialize<'de> for WorkerKey
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 Eq for WorkerKey
impl StructuralPartialEq for WorkerKey
Auto Trait Implementations§
impl Freeze for WorkerKey
impl RefUnwindSafe for WorkerKey
impl Send for WorkerKey
impl Sync for WorkerKey
impl Unpin for WorkerKey
impl UnwindSafe for WorkerKey
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