Struct fluvio_sc_schema::partition::PartitionSpec [−][src]
Expand description
Spec for Partition Each partition has replicas spread among SPU one of replica is leader which is duplicated in the leader field
Fields
leader: i32
replicas: Vec<i32, Global>
Implementations
impl PartitionSpec
[src]
impl PartitionSpec
[src]Trait Implementations
impl Clone for PartitionSpec
[src]
impl Clone for PartitionSpec
[src]pub fn clone(&self) -> PartitionSpec
[src]
pub fn clone(&self) -> PartitionSpec
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for PartitionSpec
[src]
impl Debug for PartitionSpec
[src]impl Decoder for PartitionSpec
[src]
impl Decoder for PartitionSpec
[src]impl Default for PartitionSpec
[src]
impl Default for PartitionSpec
[src]pub fn default() -> PartitionSpec
[src]
pub fn default() -> PartitionSpec
[src]Returns the “default value” for a type. Read more
impl Encoder for PartitionSpec
[src]
impl Encoder for PartitionSpec
[src]impl ListSpec for PartitionSpec
[src]
impl ListSpec for PartitionSpec
[src]type Filter = NameFilter
type Filter = NameFilter
filter type
fn into_list_request(filters: Vec<Self::Filter>) -> ListRequest
[src]
fn into_list_request(filters: Vec<Self::Filter>) -> ListRequest
[src]convert to list request with filters
impl PartialEq<PartitionSpec> for PartitionSpec
[src]
impl PartialEq<PartitionSpec> for PartitionSpec
[src]pub fn eq(&self, other: &PartitionSpec) -> bool
[src]
pub fn eq(&self, other: &PartitionSpec) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &PartitionSpec) -> bool
[src]
pub fn ne(&self, other: &PartitionSpec) -> bool
[src]This method tests for !=
.
impl Spec for PartitionSpec
[src]
impl Spec for PartitionSpec
[src]pub const LABEL: &'static str
[src]
type IndexKey = ReplicaKey
type Status = PartitionStatus
type Owner = TopicSpec
impl SpecExt for PartitionSpec
[src]
impl SpecExt for PartitionSpec
[src]pub const OBJECT_TYPE: ObjectType
[src]
impl StructuralPartialEq for PartitionSpec
[src]
Auto Trait Implementations
impl RefUnwindSafe for PartitionSpec
impl Send for PartitionSpec
impl Sync for PartitionSpec
impl Unpin for PartitionSpec
impl UnwindSafe for PartitionSpec
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more