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