Struct fluvio::metadata::customspu::CustomSpuSpec
source · 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§
Trait Implementations§
source§impl AdminSpec for CustomSpuSpec
impl AdminSpec for CustomSpuSpec
source§fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Metadata<Self>where
C: MetadataItem,
Metadata<Self>: From<MetadataStoreObject<Self, C>>,
Self::Status: Encoder + Decoder + Debug,
fn convert_from<C>(obj: &MetadataStoreObject<Self, C>) -> Metadata<Self>where
C: MetadataItem,
Metadata<Self>: From<MetadataStoreObject<Self, C>>,
Self::Status: Encoder + Decoder + Debug,
convert metadata object to list type object
source§impl Clone for CustomSpuSpec
impl Clone for CustomSpuSpec
source§fn clone(&self) -> CustomSpuSpec
fn clone(&self) -> CustomSpuSpec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CustomSpuSpec
impl Debug for CustomSpuSpec
source§impl Decoder for CustomSpuSpec
impl Decoder for CustomSpuSpec
source§impl Default for CustomSpuSpec
impl Default for CustomSpuSpec
source§fn default() -> CustomSpuSpec
fn default() -> CustomSpuSpec
Returns the “default value” for a type. Read more
source§impl DeletableAdminSpec for CustomSpuSpec
impl DeletableAdminSpec for CustomSpuSpec
type DeleteKey = CustomSpuKey
source§impl<'de> Deserialize<'de> for CustomSpuSpec
impl<'de> Deserialize<'de> for CustomSpuSpec
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CustomSpuSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CustomSpuSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for CustomSpuSpec
impl Encoder for CustomSpuSpec
source§impl From<CustomSpuSpec> for SpuSpec
impl From<CustomSpuSpec> for SpuSpec
source§fn from(spec: CustomSpuSpec) -> SpuSpec
fn from(spec: CustomSpuSpec) -> SpuSpec
Converts to this type from the input type.
source§impl From<SpuSpec> for CustomSpuSpec
impl From<SpuSpec> for CustomSpuSpec
source§fn from(spu: SpuSpec) -> CustomSpuSpec
fn from(spu: SpuSpec) -> CustomSpuSpec
Converts to this type from the input type.
source§impl PartialEq for CustomSpuSpec
impl PartialEq for CustomSpuSpec
source§fn eq(&self, other: &CustomSpuSpec) -> bool
fn eq(&self, other: &CustomSpuSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Removable for CustomSpuSpec
impl Removable for CustomSpuSpec
type DeleteKey = CustomSpuKey
source§impl Serialize for CustomSpuSpec
impl Serialize for CustomSpuSpec
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl Spec for CustomSpuSpec
impl Spec for CustomSpuSpec
this is not real spec but is there to allow passing of parameters
source§impl SpecExt for CustomSpuSpec
impl SpecExt for CustomSpuSpec
const OBJECT_TYPE: ObjectType = ObjectType::CustomSpu
impl Creatable for CustomSpuSpec
impl CreatableAdminSpec for CustomSpuSpec
impl Eq for CustomSpuSpec
impl StructuralPartialEq for CustomSpuSpec
Auto Trait Implementations§
impl Freeze for CustomSpuSpec
impl RefUnwindSafe for CustomSpuSpec
impl Send for CustomSpuSpec
impl Sync for CustomSpuSpec
impl Unpin for CustomSpuSpec
impl UnwindSafe for CustomSpuSpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.