pub struct SwarmInitResult {
pub node_id: Option<String>,
pub worker_token: Option<String>,
pub manager_token: Option<String>,
pub output: String,
}Expand description
Result of swarm init command
Fields§
§node_id: Option<String>The node ID of the manager node
worker_token: Option<String>The worker join token
manager_token: Option<String>The manager join token
output: StringRaw output from the command
Trait Implementations§
Source§impl Clone for SwarmInitResult
impl Clone for SwarmInitResult
Source§fn clone(&self) -> SwarmInitResult
fn clone(&self) -> SwarmInitResult
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 SwarmInitResult
impl RefUnwindSafe for SwarmInitResult
impl Send for SwarmInitResult
impl Sync for SwarmInitResult
impl Unpin for SwarmInitResult
impl UnwindSafe for SwarmInitResult
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