pub struct UpdateSwarmOptions {
pub version: i64,
pub rotate_worker_token: bool,
pub rotate_manager_token: bool,
pub rotate_manager_unlock_key: bool,
}Expand description
Internal struct used in the SwarmUpdate API
Use a UpdateSwarmOptionsBuilder to instantiate this struct.
Fields§
§version: i64§rotate_worker_token: bool§rotate_manager_token: bool§rotate_manager_unlock_key: boolTrait Implementations§
Source§impl Clone for UpdateSwarmOptions
impl Clone for UpdateSwarmOptions
Source§fn clone(&self) -> UpdateSwarmOptions
fn clone(&self) -> UpdateSwarmOptions
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 moreSource§impl Debug for UpdateSwarmOptions
impl Debug for UpdateSwarmOptions
Source§impl Default for UpdateSwarmOptions
impl Default for UpdateSwarmOptions
Source§fn default() -> UpdateSwarmOptions
fn default() -> UpdateSwarmOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateSwarmOptions
impl PartialEq for UpdateSwarmOptions
Source§impl Serialize for UpdateSwarmOptions
impl Serialize for UpdateSwarmOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for UpdateSwarmOptions
Auto Trait Implementations§
impl Freeze for UpdateSwarmOptions
impl RefUnwindSafe for UpdateSwarmOptions
impl Send for UpdateSwarmOptions
impl Sync for UpdateSwarmOptions
impl Unpin for UpdateSwarmOptions
impl UnsafeUnpin for UpdateSwarmOptions
impl UnwindSafe for UpdateSwarmOptions
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