Struct roboat::private_messages::MessagesMetadata
source · pub struct MessagesMetadata {
pub total_message_count: u64,
pub total_pages: u64,
}
Expand description
Contains the metadata of the messages. This includes the total amount of messages and the total amount of 20 message pages.
Fields§
§total_message_count: u64
The total amount of messages in that message tab.
total_pages: u64
The total amount of pages in that message tab. The page numbers go from 0..total_pages.
Trait Implementations§
source§impl Clone for MessagesMetadata
impl Clone for MessagesMetadata
source§fn clone(&self) -> MessagesMetadata
fn clone(&self) -> MessagesMetadata
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 MessagesMetadata
impl Debug for MessagesMetadata
source§impl Default for MessagesMetadata
impl Default for MessagesMetadata
source§fn default() -> MessagesMetadata
fn default() -> MessagesMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessagesMetadata
impl<'de> Deserialize<'de> for MessagesMetadata
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 Hash for MessagesMetadata
impl Hash for MessagesMetadata
source§impl Ord for MessagesMetadata
impl Ord for MessagesMetadata
source§fn cmp(&self, other: &MessagesMetadata) -> Ordering
fn cmp(&self, other: &MessagesMetadata) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MessagesMetadata
impl PartialEq for MessagesMetadata
source§fn eq(&self, other: &MessagesMetadata) -> bool
fn eq(&self, other: &MessagesMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MessagesMetadata
impl PartialOrd for MessagesMetadata
source§fn partial_cmp(&self, other: &MessagesMetadata) -> Option<Ordering>
fn partial_cmp(&self, other: &MessagesMetadata) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MessagesMetadata
impl Serialize for MessagesMetadata
impl Copy for MessagesMetadata
impl Eq for MessagesMetadata
impl StructuralPartialEq for MessagesMetadata
Auto Trait Implementations§
impl Freeze for MessagesMetadata
impl RefUnwindSafe for MessagesMetadata
impl Send for MessagesMetadata
impl Sync for MessagesMetadata
impl Unpin for MessagesMetadata
impl UnwindSafe for MessagesMetadata
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.