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
sourceimpl NotificationSlice
impl NotificationSlice
pub fn new() -> NotificationSlice
Trait Implementations
sourceimpl Clone for NotificationSlice
impl Clone for NotificationSlice
sourcefn clone(&self) -> NotificationSlice
fn clone(&self) -> NotificationSlice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NotificationSlice
impl Debug for NotificationSlice
sourceimpl Default for NotificationSlice
impl Default for NotificationSlice
sourcefn default() -> NotificationSlice
fn default() -> NotificationSlice
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NotificationSlice
impl<'de> Deserialize<'de> for NotificationSlice
sourcefn 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
sourceimpl PartialEq<NotificationSlice> for NotificationSlice
impl PartialEq<NotificationSlice> for NotificationSlice
sourcefn eq(&self, other: &NotificationSlice) -> bool
fn eq(&self, other: &NotificationSlice) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more