Struct etcd::VersionInfo
source · Expand description
Information about the versions of etcd running in a cluster.
This value is returned by Client::versions
.
Fields§
§cluster_version: String
The version of the entire etcd cluster.
server_version: String
The version of the etcd server that returned this VersionInfo
.
Trait Implementations§
source§impl Clone for VersionInfo
impl Clone for VersionInfo
source§fn clone(&self) -> VersionInfo
fn clone(&self) -> VersionInfo
Returns a copy 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 VersionInfo
impl Debug for VersionInfo
source§impl<'de> Deserialize<'de> for VersionInfo
impl<'de> Deserialize<'de> for VersionInfo
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
source§impl Hash for VersionInfo
impl Hash for VersionInfo
source§impl PartialEq<VersionInfo> for VersionInfo
impl PartialEq<VersionInfo> for VersionInfo
source§fn eq(&self, other: &VersionInfo) -> bool
fn eq(&self, other: &VersionInfo) -> bool
source§impl Serialize for VersionInfo
impl Serialize for VersionInfo
impl Eq for VersionInfo
impl StructuralEq for VersionInfo
impl StructuralPartialEq for VersionInfo
Auto Trait Implementations§
impl RefUnwindSafe for VersionInfo
impl Send for VersionInfo
impl Sync for VersionInfo
impl Unpin for VersionInfo
impl UnwindSafe for VersionInfo
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.