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