Struct fluvio_sc_schema::spu::SpuSpec[][src]

pub struct SpuSpec {
    pub id: i32,
    pub spu_type: SpuType,
    pub public_endpoint: IngressPort,
    pub private_endpoint: Endpoint,
    pub rack: Option<String>,
}

Fields

id: i32spu_type: SpuTypepublic_endpoint: IngressPortprivate_endpoint: Endpointrack: Option<String>

Implementations

impl SpuSpec[src]

pub fn new(id: i32) -> SpuSpec[src]

Given an Spu id generate a new SpuSpec

pub fn set_custom(self) -> SpuSpec[src]

pub fn is_custom(&self) -> bool[src]

Return custom type: true for custom, false otherwise

pub fn private_server_address(&self) -> ServerAddress[src]

pub fn update(&mut self, other: &SpuSpec)[src]

Trait Implementations

impl Clone for SpuSpec[src]

impl Debug for SpuSpec[src]

impl Decoder for SpuSpec[src]

impl Default for SpuSpec[src]

impl Display for SpuSpec[src]

impl Encoder for SpuSpec[src]

impl From<CustomSpuSpec> for SpuSpec[src]

impl From<SpuSpec> for CustomSpuSpec[src]

impl From<i32> for SpuSpec[src]

impl ListSpec for SpuSpec[src]

type Filter = NameFilter

filter type

impl PartialEq<SpuSpec> for SpuSpec[src]

impl Spec for SpuSpec[src]

type IndexKey = String

type Owner = SpuSpec

type Status = SpuStatus

impl SpecExt for SpuSpec[src]

impl StructuralPartialEq for SpuSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for SpuSpec

impl Send for SpuSpec

impl Sync for SpuSpec

impl Unpin for SpuSpec

impl UnwindSafe for SpuSpec

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> Instrument 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> ToString for T where
    T: Display + ?Sized
[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.