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