pub struct AdminDescribeTopicPartitionsCursor { /* private fields */ }Expand description
Stable explicit cursor for a first or separately requested next page.
Implementations§
Source§impl AdminDescribeTopicPartitionsCursor
impl AdminDescribeTopicPartitionsCursor
Sourcepub const fn new(topic_name: String, partition_index: i32) -> Self
pub const fn new(topic_name: String, partition_index: i32) -> Self
Creates inert cursor intent validated at the public operation boundary.
Sourcepub fn topic_name(&self) -> &str
pub fn topic_name(&self) -> &str
Returns the exact topic name.
Sourcepub const fn partition_index(&self) -> i32
pub const fn partition_index(&self) -> i32
Returns the requested first partition index.
Sourcepub fn into_parts(self) -> (String, i32)
pub fn into_parts(self) -> (String, i32)
Consumes this cursor into stable scalar parts.
Trait Implementations§
impl Eq for AdminDescribeTopicPartitionsCursor
impl StructuralPartialEq for AdminDescribeTopicPartitionsCursor
Auto Trait Implementations§
impl Freeze for AdminDescribeTopicPartitionsCursor
impl RefUnwindSafe for AdminDescribeTopicPartitionsCursor
impl Send for AdminDescribeTopicPartitionsCursor
impl Sync for AdminDescribeTopicPartitionsCursor
impl Unpin for AdminDescribeTopicPartitionsCursor
impl UnsafeUnpin for AdminDescribeTopicPartitionsCursor
impl UnwindSafe for AdminDescribeTopicPartitionsCursor
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