[][src]Struct nakadi_types::subscription::SubscriptionPartitionStatus

pub struct SubscriptionPartitionStatus {
    pub partition: PartitionId,
    pub state: PartitionState,
    pub stream_id: Option<StreamId>,
    pub assignment_type: Option<PartitionAssignmentType>,
}

Status of one event-type within a context of subscription

See also Nakadi Manual

Fields

partition: PartitionId

The partition id

state: PartitionState

The state of this partition in current subscription.

stream_id: Option<StreamId>

The id of the stream that consumes data from this partition

assignment_type: Option<PartitionAssignmentType>

Trait Implementations

impl Clone for SubscriptionPartitionStatus[src]

impl Debug for SubscriptionPartitionStatus[src]

impl<'de> Deserialize<'de> for SubscriptionPartitionStatus[src]

impl Eq for SubscriptionPartitionStatus[src]

impl PartialEq<SubscriptionPartitionStatus> for SubscriptionPartitionStatus[src]

impl Serialize for SubscriptionPartitionStatus[src]

impl StructuralEq for SubscriptionPartitionStatus[src]

impl StructuralPartialEq for SubscriptionPartitionStatus[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,