pub struct PaginatedNotificationList {
pub pagination: Box<Pagination>,
pub results: Vec<Notification>,
}
Fields§
§pagination: Box<Pagination>
§results: Vec<Notification>
Implementations§
Source§impl PaginatedNotificationList
impl PaginatedNotificationList
pub fn new( pagination: Pagination, results: Vec<Notification>, ) -> PaginatedNotificationList
Trait Implementations§
Source§impl Clone for PaginatedNotificationList
impl Clone for PaginatedNotificationList
Source§fn clone(&self) -> PaginatedNotificationList
fn clone(&self) -> PaginatedNotificationList
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 PaginatedNotificationList
impl Debug for PaginatedNotificationList
Source§impl Default for PaginatedNotificationList
impl Default for PaginatedNotificationList
Source§fn default() -> PaginatedNotificationList
fn default() -> PaginatedNotificationList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaginatedNotificationList
impl<'de> Deserialize<'de> for PaginatedNotificationList
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
impl StructuralPartialEq for PaginatedNotificationList
Auto Trait Implementations§
impl Freeze for PaginatedNotificationList
impl RefUnwindSafe for PaginatedNotificationList
impl Send for PaginatedNotificationList
impl Sync for PaginatedNotificationList
impl Unpin for PaginatedNotificationList
impl UnwindSafe for PaginatedNotificationList
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