Struct fluvio::metadata::spu::CustomSpuSpec [−]
pub struct CustomSpuSpec {
pub id: i32,
pub public_endpoint: IngressPort,
pub private_endpoint: Endpoint,
pub rack: Option<String>,
}
Expand description
Custom Spu Spec This is not real spec since when this is stored on metadata store, it will be stored as SPU
Fields
id: i32
public_endpoint: IngressPort
private_endpoint: Endpoint
rack: Option<String>
Implementations
impl CustomSpuSpec
impl CustomSpuSpec
Trait Implementations
impl Clone for CustomSpuSpec
impl Clone for CustomSpuSpec
pub fn clone(&self) -> CustomSpuSpec
pub fn clone(&self) -> CustomSpuSpec
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for CustomSpuSpec
impl Debug for CustomSpuSpec
impl Decoder for CustomSpuSpec
impl Decoder for CustomSpuSpec
impl Default for CustomSpuSpec
impl Default for CustomSpuSpec
pub fn default() -> CustomSpuSpec
pub fn default() -> CustomSpuSpec
Returns the “default value” for a type. Read more
pub fn into_request<K>(key: K) -> DeleteRequest where
K: Into<<CustomSpuSpec as Removable>::DeleteKey>,
pub fn into_request<K>(key: K) -> DeleteRequest where
K: Into<<CustomSpuSpec as Removable>::DeleteKey>,
convert delete key into request
impl Encoder for CustomSpuSpec
impl Encoder for CustomSpuSpec
Performs the conversion.
impl From<CustomSpuSpec> for SpuSpec
impl From<CustomSpuSpec> for SpuSpec
pub fn from(spec: CustomSpuSpec) -> SpuSpec
pub fn from(spec: CustomSpuSpec) -> SpuSpec
Performs the conversion.
impl From<SpuSpec> for CustomSpuSpec
impl From<SpuSpec> for CustomSpuSpec
pub fn from(spu: SpuSpec) -> CustomSpuSpec
pub fn from(spu: SpuSpec) -> CustomSpuSpec
Performs the conversion.
pub fn into_list_request(
filters: Vec<<CustomSpuSpec as ListSpec>::Filter, Global>
) -> ListRequest
pub fn into_list_request(
filters: Vec<<CustomSpuSpec as ListSpec>::Filter, Global>
) -> ListRequest
convert to list request with filters
impl PartialEq<CustomSpuSpec> for CustomSpuSpec
impl PartialEq<CustomSpuSpec> for CustomSpuSpec
pub fn eq(&self, other: &CustomSpuSpec) -> bool
pub fn eq(&self, other: &CustomSpuSpec) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &CustomSpuSpec) -> bool
pub fn ne(&self, other: &CustomSpuSpec) -> bool
This method tests for !=
.
impl Removable for CustomSpuSpec
impl Removable for CustomSpuSpec
type DeleteKey = CustomSpuKey
impl Spec for CustomSpuSpec
impl Spec for CustomSpuSpec
this is not real spec but is there to allow passing of parameters
impl SpecExt for CustomSpuSpec
impl SpecExt for CustomSpuSpec
pub const OBJECT_TYPE: ObjectType
impl Creatable for CustomSpuSpec
impl StructuralPartialEq for CustomSpuSpec
Auto Trait Implementations
impl RefUnwindSafe for CustomSpuSpec
impl Send for CustomSpuSpec
impl Sync for CustomSpuSpec
impl Unpin for CustomSpuSpec
impl UnwindSafe for CustomSpuSpec
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more