Struct docker_api_stubs::models::ClusterInfo
source · [−]pub struct ClusterInfo {
pub created_at: Option<DateTime<Utc>>,
pub data_path_port: Option<u32>,
pub default_addr_pool: Option<Vec<String>>,
pub id: Option<String>,
pub root_rotation_in_progress: Option<bool>,
pub spec: Option<SwarmSpec>,
pub subnet_size: Option<u32>,
pub tls_info: Option<TlsInfo>,
pub updated_at: Option<DateTime<Utc>>,
pub version: Option<ObjectVersion>,
}
Expand description
ClusterInfo represents information about the swarm as is returned by the “/info” endpoint. Join-tokens are not included.
Fields
created_at: Option<DateTime<Utc>>
Date and time at which the swarm was initialised in RFC 3339 format with nano-seconds.
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.
id: Option<String>
The ID of the swarm.
root_rotation_in_progress: Option<bool>
Whether there is currently a root CA rotation in progress for the swarm
spec: Option<SwarmSpec>
subnet_size: Option<u32>
SubnetSize specifies the subnet size of the networks created from the default subnet pool.
tls_info: Option<TlsInfo>
updated_at: Option<DateTime<Utc>>
Date and time at which the swarm was last updated in RFC 3339 format with nano-seconds.
version: Option<ObjectVersion>
Trait Implementations
sourceimpl Clone for ClusterInfo
impl Clone for ClusterInfo
sourcefn clone(&self) -> ClusterInfo
fn clone(&self) -> ClusterInfo
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ClusterInfo
impl Debug for ClusterInfo
sourceimpl<'de> Deserialize<'de> for ClusterInfo
impl<'de> Deserialize<'de> for ClusterInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ClusterInfo> for ClusterInfo
impl PartialEq<ClusterInfo> for ClusterInfo
sourcefn eq(&self, other: &ClusterInfo) -> bool
fn eq(&self, other: &ClusterInfo) -> bool
sourceimpl Serialize for ClusterInfo
impl Serialize for ClusterInfo
impl StructuralPartialEq for ClusterInfo
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more