pub struct AssignedPartition {
pub key: TopicPartitionKey,
pub topic_id: Uuid,
pub leader_id: i32,
pub leader_epoch: i32,
pub fetch_offset: i64,
}Expand description
Assigned Partition.
Fields§
§key: TopicPartitionKeyRecord key.
topic_id: UuidTopic Id.
leader_id: i32Leader Id.
leader_epoch: i32Leader Epoch.
fetch_offset: i64Fetch Offset.
Trait Implementations§
Source§impl Clone for AssignedPartition
impl Clone for AssignedPartition
Source§fn clone(&self) -> AssignedPartition
fn clone(&self) -> AssignedPartition
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for AssignedPartition
impl RefUnwindSafe for AssignedPartition
impl Send for AssignedPartition
impl Sync for AssignedPartition
impl Unpin for AssignedPartition
impl UnsafeUnpin for AssignedPartition
impl UnwindSafe for AssignedPartition
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