pub struct SwarmCaResult {
pub certificate: Option<String>,
pub output: String,
}Expand description
Result of swarm ca command
Fields§
§certificate: Option<String>The CA certificate (PEM format)
output: StringRaw output from the command
Trait Implementations§
Source§impl Clone for SwarmCaResult
impl Clone for SwarmCaResult
Source§fn clone(&self) -> SwarmCaResult
fn clone(&self) -> SwarmCaResult
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 SwarmCaResult
impl RefUnwindSafe for SwarmCaResult
impl Send for SwarmCaResult
impl Sync for SwarmCaResult
impl Unpin for SwarmCaResult
impl UnwindSafe for SwarmCaResult
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