Struct sda_protocol::SnapshotId
[−]
[src]
pub struct SnapshotId(pub Uuid);
Unique snapshot identifier.
Methods
impl SnapshotId
[src]
fn random() -> SnapshotId
Create new random id.
Trait Implementations
impl Clone for SnapshotId
[src]
fn clone(&self) -> SnapshotId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for SnapshotId
[src]
impl Debug for SnapshotId
[src]
impl Hash for SnapshotId
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for SnapshotId
[src]
fn eq(&self, __arg_0: &SnapshotId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SnapshotId) -> bool
This method tests for !=
.
impl Eq for SnapshotId
[src]
impl Default for SnapshotId
[src]
fn default() -> SnapshotId
Returns the "default value" for a type. Read more
impl FromStr for SnapshotId
[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<SnapshotId, String>
Parses a string s
to return a value of this type. Read more
impl ToString for SnapshotId
[src]
impl Id for SnapshotId
[src]
impl Serialize for SnapshotId
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where S: Serializer
Serialize this value into the given Serde serializer. Read more
impl Deserialize for SnapshotId
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more