pub struct NativeSessionCatalogSummary {
pub catalog_revision: u64,
pub recent_cutoff_unix_ms: u64,
pub recent_total_count: u32,
pub older_total_count: u32,
pub recent_next_after_selection_id: Option<String>,
pub recent_has_more: bool,
}Fields§
§catalog_revision: u64§recent_cutoff_unix_ms: u64§recent_total_count: u32§older_total_count: u32§recent_next_after_selection_id: Option<String>§recent_has_more: boolImplementations§
Source§impl NativeSessionCatalogSummary
impl NativeSessionCatalogSummary
pub fn validate(&self) -> Result<(), HistoryValidationError>
pub fn validate_initial_entries( &self, entry_count: usize, ) -> Result<(), HistoryValidationError>
Trait Implementations§
Source§impl Clone for NativeSessionCatalogSummary
impl Clone for NativeSessionCatalogSummary
Source§fn clone(&self) -> NativeSessionCatalogSummary
fn clone(&self) -> NativeSessionCatalogSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeSessionCatalogSummary
impl Debug for NativeSessionCatalogSummary
Source§impl<'de> Deserialize<'de> for NativeSessionCatalogSummary
impl<'de> Deserialize<'de> for NativeSessionCatalogSummary
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NativeSessionCatalogSummary, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NativeSessionCatalogSummary
Source§impl Serialize for NativeSessionCatalogSummary
impl Serialize for NativeSessionCatalogSummary
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for NativeSessionCatalogSummary
Auto Trait Implementations§
impl Freeze for NativeSessionCatalogSummary
impl RefUnwindSafe for NativeSessionCatalogSummary
impl Send for NativeSessionCatalogSummary
impl Sync for NativeSessionCatalogSummary
impl Unpin for NativeSessionCatalogSummary
impl UnsafeUnpin for NativeSessionCatalogSummary
impl UnwindSafe for NativeSessionCatalogSummary
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