Struct docker_api_stubs::models::JoinTokens
source · [−]Expand description
JoinTokens contains the tokens workers and managers need to join the swarm.
Fields
manager: Option<String>
The token managers can use to join the swarm.
worker: Option<String>
The token workers can use to join the swarm.
Trait Implementations
sourceimpl Clone for JoinTokens
impl Clone for JoinTokens
sourcefn clone(&self) -> JoinTokens
fn clone(&self) -> JoinTokens
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for JoinTokens
impl Debug for JoinTokens
sourceimpl<'de> Deserialize<'de> for JoinTokens
impl<'de> Deserialize<'de> for JoinTokens
sourcefn 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
sourceimpl PartialEq<JoinTokens> for JoinTokens
impl PartialEq<JoinTokens> for JoinTokens
sourcefn eq(&self, other: &JoinTokens) -> bool
fn eq(&self, other: &JoinTokens) -> bool
sourceimpl Serialize for JoinTokens
impl Serialize for JoinTokens
impl StructuralPartialEq for JoinTokens
Auto Trait Implementations
impl RefUnwindSafe for JoinTokens
impl Send for JoinTokens
impl Sync for JoinTokens
impl Unpin for JoinTokens
impl UnwindSafe for JoinTokens
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more