pub struct ComputeMessageStatsRequest {
pub end_cursor: Option<Cursor>,
pub partition: Option<i64>,
pub start_cursor: Option<Cursor>,
}Expand description
Compute statistics about a range of messages in a given topic and partition.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§end_cursor: Option<Cursor>The exclusive end of the range. The range is empty if end_cursor <= start_cursor. Specifying a start_cursor before the first message and an end_cursor after the last message will retrieve all messages.
partition: Option<i64>Required. The partition for which we should compute message stats.
start_cursor: Option<Cursor>The inclusive start of the range.
Trait Implementations§
Source§impl Clone for ComputeMessageStatsRequest
impl Clone for ComputeMessageStatsRequest
Source§fn clone(&self) -> ComputeMessageStatsRequest
fn clone(&self) -> ComputeMessageStatsRequest
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 moreSource§impl Debug for ComputeMessageStatsRequest
impl Debug for ComputeMessageStatsRequest
Source§impl Default for ComputeMessageStatsRequest
impl Default for ComputeMessageStatsRequest
Source§fn default() -> ComputeMessageStatsRequest
fn default() -> ComputeMessageStatsRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ComputeMessageStatsRequest
impl<'de> Deserialize<'de> for ComputeMessageStatsRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl RequestValue for ComputeMessageStatsRequest
Auto Trait Implementations§
impl Freeze for ComputeMessageStatsRequest
impl RefUnwindSafe for ComputeMessageStatsRequest
impl Send for ComputeMessageStatsRequest
impl Sync for ComputeMessageStatsRequest
impl Unpin for ComputeMessageStatsRequest
impl UnwindSafe for ComputeMessageStatsRequest
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