Struct golem_cli::model::WorkerName
source · pub struct WorkerName(pub String);
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for WorkerName
impl Clone for WorkerName
source§fn clone(&self) -> WorkerName
fn clone(&self) -> WorkerName
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 moresource§impl Debug for WorkerName
impl Debug for WorkerName
source§impl Display for WorkerName
impl Display for WorkerName
source§impl FromStr for WorkerName
impl FromStr for WorkerName
source§impl PartialEq for WorkerName
impl PartialEq for WorkerName
source§fn eq(&self, other: &WorkerName) -> bool
fn eq(&self, other: &WorkerName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WorkerName
impl StructuralPartialEq for WorkerName
Auto Trait Implementations§
impl RefUnwindSafe for WorkerName
impl Send for WorkerName
impl Sync for WorkerName
impl Unpin for WorkerName
impl UnwindSafe for WorkerName
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.