pub struct GetNotificationCountResponse {
pub status: ApiStatus,
pub count: f64,
}Fields§
§status: ApiStatus§count: f64Implementations§
Source§impl GetNotificationCountResponse
impl GetNotificationCountResponse
pub fn new(status: ApiStatus, count: f64) -> GetNotificationCountResponse
Trait Implementations§
Source§impl Clone for GetNotificationCountResponse
impl Clone for GetNotificationCountResponse
Source§fn clone(&self) -> GetNotificationCountResponse
fn clone(&self) -> GetNotificationCountResponse
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 GetNotificationCountResponse
impl Debug for GetNotificationCountResponse
Source§impl Default for GetNotificationCountResponse
impl Default for GetNotificationCountResponse
Source§fn default() -> GetNotificationCountResponse
fn default() -> GetNotificationCountResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetNotificationCountResponse
impl<'de> Deserialize<'de> for GetNotificationCountResponse
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 GetNotificationCountResponse
impl PartialEq for GetNotificationCountResponse
Source§fn eq(&self, other: &GetNotificationCountResponse) -> bool
fn eq(&self, other: &GetNotificationCountResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetNotificationCountResponse
Auto Trait Implementations§
impl Freeze for GetNotificationCountResponse
impl RefUnwindSafe for GetNotificationCountResponse
impl Send for GetNotificationCountResponse
impl Sync for GetNotificationCountResponse
impl Unpin for GetNotificationCountResponse
impl UnwindSafe for GetNotificationCountResponse
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