pub enum DraftImageSendMode {
Compressed,
Original,
}Variants§
Trait Implementations§
Source§impl Clone for DraftImageSendMode
impl Clone for DraftImageSendMode
Source§fn clone(&self) -> DraftImageSendMode
fn clone(&self) -> DraftImageSendMode
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 DraftImageSendMode
impl Debug for DraftImageSendMode
Source§impl Default for DraftImageSendMode
impl Default for DraftImageSendMode
Source§fn default() -> DraftImageSendMode
fn default() -> DraftImageSendMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DraftImageSendMode
impl<'de> Deserialize<'de> for DraftImageSendMode
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 DraftImageSendMode
impl PartialEq for DraftImageSendMode
Source§impl Serialize for DraftImageSendMode
impl Serialize for DraftImageSendMode
impl Eq for DraftImageSendMode
impl StructuralPartialEq for DraftImageSendMode
Auto Trait Implementations§
impl Freeze for DraftImageSendMode
impl RefUnwindSafe for DraftImageSendMode
impl Send for DraftImageSendMode
impl Sync for DraftImageSendMode
impl Unpin for DraftImageSendMode
impl UnsafeUnpin for DraftImageSendMode
impl UnwindSafe for DraftImageSendMode
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