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