pub struct WorkerIdentity {
pub id: String,
pub tags: Vec<String>,
}Expand description
How a worker can be named by a RemoteTarget.
Fields§
§id: StringThe worker’s id — its address, as registered.
Capability tags it was registered with.
Trait Implementations§
Source§impl Clone for WorkerIdentity
impl Clone for WorkerIdentity
Source§fn clone(&self) -> WorkerIdentity
fn clone(&self) -> WorkerIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkerIdentity
impl RefUnwindSafe for WorkerIdentity
impl Send for WorkerIdentity
impl Sync for WorkerIdentity
impl Unpin for WorkerIdentity
impl UnsafeUnpin for WorkerIdentity
impl UnwindSafe for WorkerIdentity
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