Struct pulsar_admin_sdk::models::cursor_stats::CursorStats
source · pub struct CursorStats {Show 16 fields
pub active: Option<bool>,
pub cursor_ledger: Option<i64>,
pub cursor_ledger_last_entry: Option<i64>,
pub individually_deleted_messages: Option<String>,
pub last_ledger_switch_timestamp: Option<String>,
pub mark_delete_position: Option<String>,
pub messages_consumed_counter: Option<i64>,
pub number_of_entries_since_first_not_acked_message: Option<i64>,
pub pending_read_ops: Option<i32>,
pub properties: Option<HashMap<String, i64>>,
pub read_position: Option<String>,
pub state: Option<String>,
pub subscription_have_pending_read: Option<bool>,
pub subscription_have_pending_replay_read: Option<bool>,
pub total_non_contiguous_deleted_messages_range: Option<i32>,
pub waiting_read_op: Option<bool>,
}Fields§
§active: Option<bool>§cursor_ledger: Option<i64>§cursor_ledger_last_entry: Option<i64>§individually_deleted_messages: Option<String>§last_ledger_switch_timestamp: Option<String>§mark_delete_position: Option<String>§messages_consumed_counter: Option<i64>§number_of_entries_since_first_not_acked_message: Option<i64>§pending_read_ops: Option<i32>§properties: Option<HashMap<String, i64>>§read_position: Option<String>§state: Option<String>§subscription_have_pending_read: Option<bool>§subscription_have_pending_replay_read: Option<bool>§total_non_contiguous_deleted_messages_range: Option<i32>§waiting_read_op: Option<bool>Implementations§
source§impl CursorStats
impl CursorStats
pub fn new() -> CursorStats
Trait Implementations§
source§impl Clone for CursorStats
impl Clone for CursorStats
source§fn clone(&self) -> CursorStats
fn clone(&self) -> CursorStats
Returns a copy 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 CursorStats
impl Debug for CursorStats
source§impl Default for CursorStats
impl Default for CursorStats
source§fn default() -> CursorStats
fn default() -> CursorStats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CursorStats
impl<'de> Deserialize<'de> for CursorStats
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
source§impl PartialEq for CursorStats
impl PartialEq for CursorStats
source§fn eq(&self, other: &CursorStats) -> bool
fn eq(&self, other: &CursorStats) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CursorStats
impl Serialize for CursorStats
impl StructuralPartialEq for CursorStats
Auto Trait Implementations§
impl RefUnwindSafe for CursorStats
impl Send for CursorStats
impl Sync for CursorStats
impl Unpin for CursorStats
impl UnwindSafe for CursorStats
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