pub struct NotificationSlice {
pub total_count: Option<i32>,
pub offset: Option<i32>,
pub limit: Option<i32>,
pub time_offset: Option<String>,
pub next_time_offset: Option<String>,
pub notifications: Option<Vec<NotificationWithMeta>>,
}Fields§
§total_count: Option<i32>§offset: Option<i32>§limit: Option<i32>§time_offset: Option<String>The time_offset cursor specified in the request, if any.
next_time_offset: Option<String>An opaque Base64 cursor token representing the next page of messages to fetch. Present when time_offset was provided in the request. Pass this value as time_offset on the next request to continue paginating.
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 (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 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 UnsafeUnpin 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