pub struct ContextInfo {
pub name: String,
pub description: String,
pub docker_endpoint: String,
pub kubernetes_endpoint: String,
pub current: bool,
}
Expand description
Information about a Docker context
Fields§
§name: String
Context name
description: String
Description of the context
docker_endpoint: String
Docker endpoint
kubernetes_endpoint: String
Kubernetes endpoint (if configured)
current: bool
Whether this is the current context
Trait Implementations§
Source§impl Clone for ContextInfo
impl Clone for ContextInfo
Source§fn clone(&self) -> ContextInfo
fn clone(&self) -> ContextInfo
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 ContextInfo
impl Debug for ContextInfo
Source§impl<'de> Deserialize<'de> for ContextInfo
impl<'de> Deserialize<'de> for ContextInfo
Source§fn 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
Auto Trait Implementations§
impl Freeze for ContextInfo
impl RefUnwindSafe for ContextInfo
impl Send for ContextInfo
impl Sync for ContextInfo
impl Unpin for ContextInfo
impl UnwindSafe for ContextInfo
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