Struct fluvio_controlplane_metadata::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 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 Encoder for SpuGroupSpec
impl Encoder for SpuGroupSpec
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 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 Eq for SpuGroupSpec
impl StructuralPartialEq for SpuGroupSpec
Auto Trait Implementations§
impl Freeze for SpuGroupSpec
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.