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 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 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 for NotificationSlice
impl PartialEq for NotificationSlice
Source§impl Serialize for NotificationSlice
impl Serialize for NotificationSlice
impl StructuralPartialEq for NotificationSlice
Auto Trait Implementations§
impl Freeze for NotificationSlice
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