[][src]Struct flv_client::metadata::topic::Topic

pub struct Topic {
    pub type_computed: bool,
    pub assigned_partitions: Option<String>,
    pub partitions: Option<i32>,
    pub replication_factor: Option<i32>,
    pub ignore_rack_assignment: bool,
    pub status: TopicResolution,
    pub reason: String,
    pub partition_map: Option<Vec<PartitionReplica>>,
}

Fields

type_computed: boolassigned_partitions: Option<String>partitions: Option<i32>replication_factor: Option<i32>ignore_rack_assignment: boolstatus: TopicResolutionreason: Stringpartition_map: Option<Vec<PartitionReplica>>

Implementations

impl Topic[src]

pub fn new(fetched_topic: FlvFetchTopic) -> Self[src]

pub fn status_label(&self) -> &'static str[src]

pub fn type_label(&self) -> &'static str[src]

pub fn ignore_rack_assign_str(&self) -> &'static str[src]

pub fn partitions_str(&self) -> String[src]

pub fn replication_factor_str(&self) -> String[src]

Trait Implementations

impl Debug for Topic[src]

impl Serialize for Topic[src]

Auto Trait Implementations

impl RefUnwindSafe for Topic

impl Send for Topic

impl Sync for Topic

impl Unpin for Topic

impl UnwindSafe for Topic

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> Erased for T

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

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

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>,