[][src]Struct flv_api_sc::spu::FlvCreateSpuGroupRequest

pub struct FlvCreateSpuGroupRequest {
    pub name: String,
    pub replicas: u16,
    pub min_id: Option<i32>,
    pub config: FlvGroupConfig,
    pub rack: Option<String>,
}

Fields

name: String

The name of the managed spu group

replicas: u16

The number of replicas for the spu group

min_id: Option<i32>

The base spu id that the spu group uses to increment the spu ids Note: Spu id is a globally unique resource and it cannot be shared

config: FlvGroupConfig

Configuration elements to be applied to each SPUs in the group

rack: Option<String>

The rack to be used for all SPUs in the group. Racks are used by replication assignment algorithm

Trait Implementations

impl Debug for FlvCreateSpuGroupRequest[src]

impl Decoder for FlvCreateSpuGroupRequest[src]

impl Default for FlvCreateSpuGroupRequest[src]

impl Encoder for FlvCreateSpuGroupRequest[src]

impl From<FlvCreateSpuGroupRequest> for FlvCreateSpuGroupsRequest[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.