Struct sda_protocol::EncryptionKeyId
[−]
[src]
pub struct EncryptionKeyId(pub Uuid);
Unique encryption key identifier.
Methods
impl EncryptionKeyId[src]
fn random() -> EncryptionKeyId
Create new random id.
Trait Implementations
impl Clone for EncryptionKeyId[src]
fn clone(&self) -> EncryptionKeyId
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 EncryptionKeyId[src]
impl Debug for EncryptionKeyId[src]
impl Hash for EncryptionKeyId[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: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl PartialEq for EncryptionKeyId[src]
fn eq(&self, __arg_0: &EncryptionKeyId) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &EncryptionKeyId) -> bool
This method tests for !=.
impl Eq for EncryptionKeyId[src]
impl Default for EncryptionKeyId[src]
fn default() -> EncryptionKeyId
Returns the "default value" for a type. Read more
impl FromStr for EncryptionKeyId[src]
type Err = String
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<EncryptionKeyId, String>
Parses a string s to return a value of this type. Read more
impl ToString for EncryptionKeyId[src]
impl Id for EncryptionKeyId[src]
impl Serialize for EncryptionKeyId[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 EncryptionKeyId[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where D: Deserializer
Deserialize this value from the given Serde deserializer. Read more