pub struct ClusterCephMetadataResponseDataNodeValue {
pub buildcommit: String,
pub version: Box<ClusterCephMetadataResponseDataNodeValueVersion>,
}Fields§
§buildcommit: StringGIT commit used for the build.
version: Box<ClusterCephMetadataResponseDataNodeValueVersion>Implementations§
Source§impl ClusterCephMetadataResponseDataNodeValue
impl ClusterCephMetadataResponseDataNodeValue
pub fn new( buildcommit: String, version: ClusterCephMetadataResponseDataNodeValueVersion, ) -> ClusterCephMetadataResponseDataNodeValue
Trait Implementations§
Source§impl Clone for ClusterCephMetadataResponseDataNodeValue
impl Clone for ClusterCephMetadataResponseDataNodeValue
Source§fn clone(&self) -> ClusterCephMetadataResponseDataNodeValue
fn clone(&self) -> ClusterCephMetadataResponseDataNodeValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ClusterCephMetadataResponseDataNodeValue
impl Default for ClusterCephMetadataResponseDataNodeValue
Source§fn default() -> ClusterCephMetadataResponseDataNodeValue
fn default() -> ClusterCephMetadataResponseDataNodeValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterCephMetadataResponseDataNodeValue
impl<'de> Deserialize<'de> for ClusterCephMetadataResponseDataNodeValue
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 PartialEq for ClusterCephMetadataResponseDataNodeValue
impl PartialEq for ClusterCephMetadataResponseDataNodeValue
Source§fn eq(&self, other: &ClusterCephMetadataResponseDataNodeValue) -> bool
fn eq(&self, other: &ClusterCephMetadataResponseDataNodeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterCephMetadataResponseDataNodeValue
Auto Trait Implementations§
impl Freeze for ClusterCephMetadataResponseDataNodeValue
impl RefUnwindSafe for ClusterCephMetadataResponseDataNodeValue
impl Send for ClusterCephMetadataResponseDataNodeValue
impl Sync for ClusterCephMetadataResponseDataNodeValue
impl Unpin for ClusterCephMetadataResponseDataNodeValue
impl UnsafeUnpin for ClusterCephMetadataResponseDataNodeValue
impl UnwindSafe for ClusterCephMetadataResponseDataNodeValue
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