[][src]Struct nebula_graph_fbthrift_raftex::types::AskForVoteRequest

pub struct AskForVoteRequest {
    pub space: GraphSpaceID,
    pub part: PartitionID,
    pub candidate_ip: IPv4,
    pub candidate_port: Port,
    pub term: TermID,
    pub last_log_id: LogID,
    pub last_log_term: TermID,
}

Fields

space: GraphSpaceIDpart: PartitionIDcandidate_ip: IPv4candidate_port: Portterm: TermIDlast_log_id: LogIDlast_log_term: TermID

Trait Implementations

impl Clone for AskForVoteRequest[src]

impl Debug for AskForVoteRequest[src]

impl Default for AskForVoteRequest[src]

impl<P> Deserialize<P> for AskForVoteRequest where
    P: ProtocolReader
[src]

impl Eq for AskForVoteRequest[src]

impl GetTType for AskForVoteRequest[src]

impl Hash for AskForVoteRequest[src]

impl Ord for AskForVoteRequest[src]

impl PartialEq<AskForVoteRequest> for AskForVoteRequest[src]

impl PartialOrd<AskForVoteRequest> for AskForVoteRequest[src]

impl Send for AskForVoteRequest[src]

impl<P> Serialize<P> for AskForVoteRequest where
    P: ProtocolWriter
[src]

impl StructuralEq for AskForVoteRequest[src]

impl StructuralPartialEq for AskForVoteRequest[src]

impl Sync for AskForVoteRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.