[][src]Struct flv_client::metadata::spu::Spu

pub struct Spu {
    pub id: i32,
    pub name: String,
    pub spu_type: SpuType,
    pub public_server: Endpoint,
    pub private_server: Endpoint,
    pub rack: Option<String>,
    pub status: SpuResolution,
}

Fields

id: i32name: Stringspu_type: SpuTypepublic_server: Endpointprivate_server: Endpointrack: Option<String>status: SpuResolution

Implementations

impl Spu[src]

pub fn new(spu_name: String, fetched_spu: FlvFetchSpu) -> Self[src]

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

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

Trait Implementations

impl Debug for Spu[src]

impl Serialize for Spu[src]

Auto Trait Implementations

impl RefUnwindSafe for Spu

impl Send for Spu

impl Sync for Spu

impl Unpin for Spu

impl UnwindSafe for Spu

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