Struct fluvio_sc_schema::spg::SpuGroupSpec
source · pub struct SpuGroupSpec {
pub replicas: u16,
pub min_id: i32,
pub spu_config: SpuConfig,
}
Fields§
§replicas: u16
The number of replicas for the spu group
min_id: 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
spu_config: SpuConfig
Configuration elements to be applied to each SPUs in the group
Trait Implementations§
source§impl AdminSpec for SpuGroupSpec
impl AdminSpec for SpuGroupSpec
source§fn convert_from<C: MetadataItem>(
obj: &MetadataStoreObject<Self, C>
) -> Metadata<Self>
fn convert_from<C: MetadataItem>( obj: &MetadataStoreObject<Self, C> ) -> Metadata<Self>
convert metadata object to list type object
source§impl Clone for SpuGroupSpec
impl Clone for SpuGroupSpec
source§fn clone(&self) -> SpuGroupSpec
fn clone(&self) -> SpuGroupSpec
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 SpuGroupSpec
impl Debug for SpuGroupSpec
source§impl Decoder for SpuGroupSpec
impl Decoder for SpuGroupSpec
source§impl Default for SpuGroupSpec
impl Default for SpuGroupSpec
source§fn default() -> SpuGroupSpec
fn default() -> SpuGroupSpec
Returns the “default value” for a type. Read more
source§impl DeletableAdminSpec for SpuGroupSpec
impl DeletableAdminSpec for SpuGroupSpec
source§impl<'de> Deserialize<'de> for SpuGroupSpec
impl<'de> Deserialize<'de> for SpuGroupSpec
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<SpuGroupSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<SpuGroupSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Encoder for SpuGroupSpec
impl Encoder for SpuGroupSpec
source§impl From<K8SpuGroupSpec> for SpuGroupSpec
impl From<K8SpuGroupSpec> for SpuGroupSpec
source§fn from(spec: K8SpuGroupSpec) -> SpuGroupSpec
fn from(spec: K8SpuGroupSpec) -> SpuGroupSpec
Converts to this type from the input type.
source§impl From<SpuGroupSpec> for K8SpuGroupSpec
impl From<SpuGroupSpec> for K8SpuGroupSpec
source§fn from(spec: SpuGroupSpec) -> K8SpuGroupSpec
fn from(spec: SpuGroupSpec) -> K8SpuGroupSpec
Converts to this type from the input type.
source§impl K8ExtendedSpec for SpuGroupSpec
impl K8ExtendedSpec for SpuGroupSpec
type K8Spec = K8SpuGroupSpec
fn convert_from_k8( k8_obj: K8Obj<<SpuGroupSpec as K8ExtendedSpec>::K8Spec>, multi_namespace_context: bool ) -> Result<MetadataStoreObject<SpuGroupSpec, K8MetaItem>, K8ConvertError<<SpuGroupSpec as K8ExtendedSpec>::K8Spec>>
fn convert_status_from_k8( status: <SpuGroupSpec as Spec>::Status ) -> <SpuGroupSpec as Spec>::Status
fn into_k8(self) -> <SpuGroupSpec as K8ExtendedSpec>::K8Spec
const DELETE_WAIT_DEPENDENTS: bool = false
const FINALIZER: Option<&'static str> = None
source§impl PartialEq for SpuGroupSpec
impl PartialEq for SpuGroupSpec
source§fn eq(&self, other: &SpuGroupSpec) -> bool
fn eq(&self, other: &SpuGroupSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SpuGroupSpec
impl Serialize for SpuGroupSpec
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 SpuGroupSpec
impl Spec for SpuGroupSpec
source§impl SpecExt for SpuGroupSpec
impl SpecExt for SpuGroupSpec
const OBJECT_TYPE: ObjectType = ObjectType::SpuGroup
impl Creatable for SpuGroupSpec
impl CreatableAdminSpec for SpuGroupSpec
impl Eq for SpuGroupSpec
impl StructuralPartialEq for SpuGroupSpec
Auto Trait Implementations§
impl RefUnwindSafe for SpuGroupSpec
impl Send for SpuGroupSpec
impl Sync for SpuGroupSpec
impl Unpin for SpuGroupSpec
impl UnwindSafe for SpuGroupSpec
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.