pub struct SwarmJoinTokenResult {
pub token: Option<String>,
pub join_command: Option<String>,
pub role: SwarmNodeRole,
pub output: String,
}Expand description
Result of swarm join-token command
Fields§
§token: Option<String>The join token
join_command: Option<String>The full join command (if not using –quiet)
role: SwarmNodeRoleThe role for which the token was retrieved
output: StringRaw output from the command
Trait Implementations§
Source§impl Clone for SwarmJoinTokenResult
impl Clone for SwarmJoinTokenResult
Source§fn clone(&self) -> SwarmJoinTokenResult
fn clone(&self) -> SwarmJoinTokenResult
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SwarmJoinTokenResult
impl RefUnwindSafe for SwarmJoinTokenResult
impl Send for SwarmJoinTokenResult
impl Sync for SwarmJoinTokenResult
impl Unpin for SwarmJoinTokenResult
impl UnwindSafe for SwarmJoinTokenResult
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