Struct bollard_stubs::models::ClusterInfo [−][src]
ClusterInfo represents information about the swarm as is returned by the "/info" endpoint. Join-tokens are not included.
Fields
id: Option<String>
The ID of the swarm.
version: Option<ObjectVersion>
created_at: Option<DateTime<Utc>>
Date and time at which the swarm was initialised in RFC 3339 format with nano-seconds.
updated_at: Option<DateTime<Utc>>
Date and time at which the swarm was last updated in RFC 3339 format with nano-seconds.
spec: Option<SwarmSpec>
tls_info: Option<TlsInfo>
root_rotation_in_progress: Option<bool>
Whether there is currently a root CA rotation in progress for the swarm
data_path_port: Option<u32>
DataPathPort specifies the data path port number for data traffic. Acceptable port range is 1024 to 49151. If no port is set or is set to 0, the default port (4789) is used.
default_addr_pool: Option<Vec<String>>
Default Address Pool specifies default subnet pools for global scope networks.
subnet_size: Option<u32>
SubnetSize specifies the subnet size of the networks created from the default subnet pool.
Trait Implementations
impl Clone for ClusterInfo
[src]
fn clone(&self) -> ClusterInfo
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ClusterInfo
[src]
impl Default for ClusterInfo
[src]
fn default() -> ClusterInfo
[src]
impl<'de> Deserialize<'de> for ClusterInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ClusterInfo> for ClusterInfo
[src]
fn eq(&self, other: &ClusterInfo) -> bool
[src]
fn ne(&self, other: &ClusterInfo) -> bool
[src]
impl Serialize for ClusterInfo
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ClusterInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ClusterInfo
impl Send for ClusterInfo
impl Sync for ClusterInfo
impl Unpin for ClusterInfo
impl UnwindSafe for ClusterInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,