Struct gluster::Peer
[−]
[src]
pub struct Peer { pub uuid: Uuid, pub hostname: String, pub status: State, }
A Gluster Peer. A Peer is roughly equivalent to a server in Gluster.
Fields
uuid: Uuid
The unique identifer of this peer
hostname: String
The hostname or IP address of the peer
status: State
The current State of the peer
Trait Implementations
impl PartialEq for Peer
[src]
fn eq(&self, __arg_0: &Peer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Peer) -> bool
This method tests for !=
.
impl Eq for Peer
[src]
impl Clone for Peer
[src]
fn clone(&self) -> Peer
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