pub struct VoteTarget {
pub voter_id: u64,
pub local_id: u64,
pub directory_matches: bool,
}Expand description
Whom one Vote request is addressed to, against this node.
Fields§
§voter_id: u64The VoterId the request is addressed to.
local_id: u64This node’s ID.
directory_matches: boolThe request’s VoterDirectoryId names this node’s directory.
Trait Implementations§
Source§impl Clone for VoteTarget
impl Clone for VoteTarget
Source§fn clone(&self) -> VoteTarget
fn clone(&self) -> VoteTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VoteTarget
Source§impl Debug for VoteTarget
impl Debug for VoteTarget
impl Eq for VoteTarget
Source§impl PartialEq for VoteTarget
impl PartialEq for VoteTarget
impl StructuralPartialEq for VoteTarget
Auto Trait Implementations§
impl Freeze for VoteTarget
impl RefUnwindSafe for VoteTarget
impl Send for VoteTarget
impl Sync for VoteTarget
impl Unpin for VoteTarget
impl UnsafeUnpin for VoteTarget
impl UnwindSafe for VoteTarget
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more