[][src]Struct flv_api_spu::spus::FlvFetchLocalSpuResponse

pub struct FlvFetchLocalSpuResponse {
    pub error_code: FlvErrorCode,
    pub name: String,
    pub id: i32,
    pub public_ep: String,
    pub private_ep: String,
    pub rack: Option<String>,
}

Fields

error_code: FlvErrorCode

Spu lookup error code, None for no error

name: String

Spu name. A unique key in Key/Value stores such as Kubernetes.

id: i32

Spu id. Managed Spu ids start from 0. Custom SPU ids start from 5000.

public_ep: String

Public endpoint server interface.

private_ep: String

Private endpoint server interface.

rack: Option<String>

Rack label, optional parameter used by replica assignment algorithm.

Trait Implementations

impl Debug for FlvFetchLocalSpuResponse[src]

impl Decoder for FlvFetchLocalSpuResponse[src]

impl Default for FlvFetchLocalSpuResponse[src]

impl Encoder for FlvFetchLocalSpuResponse[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, 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.