pub enum InputPhoto {
Empty,
InputPhoto(InputPhoto),
}Expand description
Variants§
Empty
InputPhoto(InputPhoto)
Trait Implementations§
Source§impl Clone for InputPhoto
impl Clone for InputPhoto
Source§fn clone(&self) -> InputPhoto
fn clone(&self) -> InputPhoto
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 InputPhoto
impl Debug for InputPhoto
Source§impl Deserializable for InputPhoto
impl Deserializable for InputPhoto
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<InputPhoto> for InputPhoto
impl From<InputPhoto> for InputPhoto
Source§fn from(x: InputPhoto) -> Self
fn from(x: InputPhoto) -> Self
Converts to this type from the input type.
Source§impl From<InputPhotoEmpty> for InputPhoto
impl From<InputPhotoEmpty> for InputPhoto
Source§fn from(_x: InputPhotoEmpty) -> Self
fn from(_x: InputPhotoEmpty) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputPhoto
impl PartialEq for InputPhoto
Source§impl Serializable for InputPhoto
impl Serializable for InputPhoto
Source§impl TryFrom<InputPhoto> for InputPhoto
impl TryFrom<InputPhoto> for InputPhoto
Source§type Error = InputPhoto
type Error = InputPhoto
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputPhoto
Auto Trait Implementations§
impl Freeze for InputPhoto
impl RefUnwindSafe for InputPhoto
impl Send for InputPhoto
impl Sync for InputPhoto
impl Unpin for InputPhoto
impl UnsafeUnpin for InputPhoto
impl UnwindSafe for InputPhoto
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