pub struct AdminListOffsetsRequestTarget { /* private fields */ }Expand description
One engine-owned topic-partition request.
Implementations§
Source§impl AdminListOffsetsRequestTarget
impl AdminListOffsetsRequestTarget
Sourcepub const fn new(
topic: String,
partition: i32,
spec: AdminListOffsetsRequestSpec,
) -> Self
pub const fn new( topic: String, partition: i32, spec: AdminListOffsetsRequestSpec, ) -> Self
Creates one inert target for validation at admission.
Sourcepub const fn current_leader_epoch(self, current_leader_epoch: i32) -> Self
pub const fn current_leader_epoch(self, current_leader_epoch: i32) -> Self
Replaces the optional leader epoch used to fence stale partition leaders.
Trait Implementations§
impl Eq for AdminListOffsetsRequestTarget
impl StructuralPartialEq for AdminListOffsetsRequestTarget
Auto Trait Implementations§
impl Freeze for AdminListOffsetsRequestTarget
impl RefUnwindSafe for AdminListOffsetsRequestTarget
impl Send for AdminListOffsetsRequestTarget
impl Sync for AdminListOffsetsRequestTarget
impl Unpin for AdminListOffsetsRequestTarget
impl UnsafeUnpin for AdminListOffsetsRequestTarget
impl UnwindSafe for AdminListOffsetsRequestTarget
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