Struct maelstrom::MembershipState
source · pub struct MembershipState {
pub node_id: String,
pub nodes: Vec<String>,
}
Fields§
§node_id: String
§nodes: Vec<String>
Trait Implementations§
source§impl Clone for MembershipState
impl Clone for MembershipState
source§fn clone(&self) -> MembershipState
fn clone(&self) -> MembershipState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MembershipState
impl Debug for MembershipState
source§impl Default for MembershipState
impl Default for MembershipState
source§fn default() -> MembershipState
fn default() -> MembershipState
Returns the “default value” for a type. Read more
source§impl PartialEq<MembershipState> for MembershipState
impl PartialEq<MembershipState> for MembershipState
source§fn eq(&self, other: &MembershipState) -> bool
fn eq(&self, other: &MembershipState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.