Struct replicante_agent_models::DatastoreInfo [−][src]
pub struct DatastoreInfo { pub cluster: String, pub kind: String, pub name: String, pub version: String, }
Datastore version details.
Fields
cluster: String
kind: String
name: String
version: String
Methods
impl DatastoreInfo
[src]
impl DatastoreInfo
pub fn new<S1, S2, S3, S4>(
cluster: S1,
kind: S2,
name: S3,
version: S4
) -> DatastoreInfo where
S1: Into<String>,
S2: Into<String>,
S3: Into<String>,
S4: Into<String>,
[src]
pub fn new<S1, S2, S3, S4>(
cluster: S1,
kind: S2,
name: S3,
version: S4
) -> DatastoreInfo where
S1: Into<String>,
S2: Into<String>,
S3: Into<String>,
S4: Into<String>,
Trait Implementations
impl Clone for DatastoreInfo
[src]
impl Clone for DatastoreInfo
fn clone(&self) -> DatastoreInfo
[src]
fn clone(&self) -> DatastoreInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for DatastoreInfo
[src]
impl Eq for DatastoreInfo
impl PartialEq for DatastoreInfo
[src]
impl PartialEq for DatastoreInfo
fn eq(&self, other: &DatastoreInfo) -> bool
[src]
fn eq(&self, other: &DatastoreInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DatastoreInfo) -> bool
[src]
fn ne(&self, other: &DatastoreInfo) -> bool
This method tests for !=
.
impl Ord for DatastoreInfo
[src]
impl Ord for DatastoreInfo
fn cmp(&self, other: &DatastoreInfo) -> Ordering
[src]
fn cmp(&self, other: &DatastoreInfo) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for DatastoreInfo
[src]
impl PartialOrd for DatastoreInfo
fn partial_cmp(&self, other: &DatastoreInfo) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &DatastoreInfo) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, other: &DatastoreInfo) -> bool
[src]
fn lt(&self, other: &DatastoreInfo) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, other: &DatastoreInfo) -> bool
[src]
fn le(&self, other: &DatastoreInfo) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, other: &DatastoreInfo) -> bool
[src]
fn gt(&self, other: &DatastoreInfo) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, other: &DatastoreInfo) -> bool
[src]
fn ge(&self, other: &DatastoreInfo) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Hash for DatastoreInfo
[src]
impl Hash for DatastoreInfo
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for DatastoreInfo
[src]
impl Debug for DatastoreInfo
Auto Trait Implementations
impl Send for DatastoreInfo
impl Send for DatastoreInfo
impl Sync for DatastoreInfo
impl Sync for DatastoreInfo