pub enum ApiUpdateProfileResponses {
UserProfileUpdated(Arc<UserProfileUpdatedResponse>),
UserProfileNoChange(Arc<UserProfileNoChangeResponse>),
}Variants§
UserProfileUpdated(Arc<UserProfileUpdatedResponse>)
UserProfileUpdated: User profile updated.
UserProfileNoChange(Arc<UserProfileNoChangeResponse>)
UserProfileNoChange: User profile was not changed.
Implementations§
Source§impl ApiUpdateProfileResponses
impl ApiUpdateProfileResponses
pub fn user_profile_updated(&self) -> Option<&UserProfileUpdatedResponse>
pub fn user_profile_no_change(&self) -> Option<&UserProfileNoChangeResponse>
Trait Implementations§
Source§impl Clone for ApiUpdateProfileResponses
impl Clone for ApiUpdateProfileResponses
Source§fn clone(&self) -> ApiUpdateProfileResponses
fn clone(&self) -> ApiUpdateProfileResponses
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 ApiUpdateProfileResponses
impl Debug for ApiUpdateProfileResponses
Source§impl<'de> Deserialize<'de> for ApiUpdateProfileResponses
impl<'de> Deserialize<'de> for ApiUpdateProfileResponses
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 ApiUpdateProfileResponses
Auto Trait Implementations§
impl Freeze for ApiUpdateProfileResponses
impl RefUnwindSafe for ApiUpdateProfileResponses
impl Send for ApiUpdateProfileResponses
impl Sync for ApiUpdateProfileResponses
impl Unpin for ApiUpdateProfileResponses
impl UnwindSafe for ApiUpdateProfileResponses
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