pub struct NotificationSlice {
pub total_count: Option<i32>,
pub offset: Option<i32>,
pub limit: Option<i32>,
pub notifications: Option<Vec<NotificationWithMeta>>,
}
Fields§
§total_count: Option<i32>
§offset: Option<i32>
§limit: Option<i32>
§notifications: Option<Vec<NotificationWithMeta>>
Implementations§
source§impl NotificationSlice
impl NotificationSlice
pub fn new() -> NotificationSlice
Trait Implementations§
source§impl Clone for NotificationSlice
impl Clone for NotificationSlice
source§fn clone(&self) -> NotificationSlice
fn clone(&self) -> NotificationSlice
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 NotificationSlice
impl Debug for NotificationSlice
source§impl Default for NotificationSlice
impl Default for NotificationSlice
source§fn default() -> NotificationSlice
fn default() -> NotificationSlice
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NotificationSlice
impl<'de> Deserialize<'de> for NotificationSlice
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<NotificationSlice> for NotificationSlice
impl PartialEq<NotificationSlice> for NotificationSlice
source§fn eq(&self, other: &NotificationSlice) -> bool
fn eq(&self, other: &NotificationSlice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotificationSlice
impl Serialize for NotificationSlice
impl StructuralPartialEq for NotificationSlice
Auto Trait Implementations§
impl RefUnwindSafe for NotificationSlice
impl Send for NotificationSlice
impl Sync for NotificationSlice
impl Unpin for NotificationSlice
impl UnwindSafe for NotificationSlice
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