[][src]Struct nebula_fbthrift_meta::types::PartItem

pub struct PartItem {
    pub part_id: PartitionID,
    pub leader: Option<HostAddr>,
    pub peers: Vec<HostAddr>,
    pub losts: Vec<HostAddr>,
}

Fields

part_id: PartitionIDleader: Option<HostAddr>peers: Vec<HostAddr>losts: Vec<HostAddr>

Trait Implementations

impl Clone for PartItem[src]

impl Debug for PartItem[src]

impl Default for PartItem[src]

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

impl GetTType for PartItem[src]

impl PartialEq<PartItem> for PartItem[src]

impl Send for PartItem[src]

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

impl StructuralPartialEq for PartItem[src]

impl Sync for PartItem[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.