Struct nakadion::PartitionId [−][src]
pub struct PartitionId(pub String);
A partition id that comes with a cursor retrieved from a batch.
A PartitionId
is passed to a HandlerFactory
when
creating a new BatchHandler
.
Methods
impl PartitionId
[src]
impl PartitionId
pub fn new<T: Into<String>>(id: T) -> PartitionId
[src]
pub fn new<T: Into<String>>(id: T) -> PartitionId
Create a new PartitionId
Trait Implementations
impl Clone for PartitionId
[src]
impl Clone for PartitionId
fn clone(&self) -> PartitionId
[src]
fn clone(&self) -> PartitionId
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 PartitionId
[src]
impl Debug for PartitionId
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PartitionId
[src]
impl PartialEq for PartitionId
fn eq(&self, other: &PartitionId) -> bool
[src]
fn eq(&self, other: &PartitionId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PartitionId) -> bool
[src]
fn ne(&self, other: &PartitionId) -> bool
This method tests for !=
.
impl Eq for PartitionId
[src]
impl Eq for PartitionId
impl Display for PartitionId
[src]
impl Display for PartitionId
Auto Trait Implementations
impl Send for PartitionId
impl Send for PartitionId
impl Sync for PartitionId
impl Sync for PartitionId