pub enum UserProfilePhoto {
Empty,
UserProfilePhoto(UserProfilePhoto),
}Expand description
Variants§
Empty
UserProfilePhoto(UserProfilePhoto)
Trait Implementations§
Source§impl Clone for UserProfilePhoto
impl Clone for UserProfilePhoto
Source§fn clone(&self) -> UserProfilePhoto
fn clone(&self) -> UserProfilePhoto
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 UserProfilePhoto
impl Debug for UserProfilePhoto
Source§impl Deserializable for UserProfilePhoto
impl Deserializable for UserProfilePhoto
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UserProfilePhoto> for UserProfilePhoto
impl From<UserProfilePhoto> for UserProfilePhoto
Source§fn from(x: UserProfilePhoto) -> Self
fn from(x: UserProfilePhoto) -> Self
Converts to this type from the input type.
Source§impl From<UserProfilePhotoEmpty> for UserProfilePhoto
impl From<UserProfilePhotoEmpty> for UserProfilePhoto
Source§fn from(_x: UserProfilePhotoEmpty) -> Self
fn from(_x: UserProfilePhotoEmpty) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UserProfilePhoto
impl PartialEq for UserProfilePhoto
Source§impl Serializable for UserProfilePhoto
impl Serializable for UserProfilePhoto
Source§impl TryFrom<UserProfilePhoto> for UserProfilePhoto
impl TryFrom<UserProfilePhoto> for UserProfilePhoto
Source§type Error = UserProfilePhoto
type Error = UserProfilePhoto
The type returned in the event of a conversion error.
impl StructuralPartialEq for UserProfilePhoto
Auto Trait Implementations§
impl Freeze for UserProfilePhoto
impl RefUnwindSafe for UserProfilePhoto
impl Send for UserProfilePhoto
impl Sync for UserProfilePhoto
impl Unpin for UserProfilePhoto
impl UnsafeUnpin for UserProfilePhoto
impl UnwindSafe for UserProfilePhoto
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