pub enum ContentTransferEncoding {
SevenBit,
QuotedPrintable,
Base64,
EightBit,
Binary,
}
Expand description
Content-Transfer-Encoding
of the body
The Message
builder takes care of choosing the most
efficient encoding based on the chosen body, so in most
use-caches this header shouldn’t be set manually.
Variants§
SevenBit
ASCII
QuotedPrintable
Quoted-Printable encoding
Base64
base64 encoding
EightBit
Requires 8BITMIME
Binary
Binary data
Trait Implementations§
Source§impl Clone for ContentTransferEncoding
impl Clone for ContentTransferEncoding
Source§fn clone(&self) -> ContentTransferEncoding
fn clone(&self) -> ContentTransferEncoding
Returns a copy 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 ContentTransferEncoding
impl Debug for ContentTransferEncoding
Source§impl Default for ContentTransferEncoding
impl Default for ContentTransferEncoding
Source§impl Display for ContentTransferEncoding
impl Display for ContentTransferEncoding
Source§impl FromStr for ContentTransferEncoding
impl FromStr for ContentTransferEncoding
Source§impl Hash for ContentTransferEncoding
impl Hash for ContentTransferEncoding
Source§impl Header for ContentTransferEncoding
impl Header for ContentTransferEncoding
Source§impl PartialEq for ContentTransferEncoding
impl PartialEq for ContentTransferEncoding
impl Copy for ContentTransferEncoding
impl Eq for ContentTransferEncoding
impl StructuralPartialEq for ContentTransferEncoding
Auto Trait Implementations§
impl Freeze for ContentTransferEncoding
impl RefUnwindSafe for ContentTransferEncoding
impl Send for ContentTransferEncoding
impl Sync for ContentTransferEncoding
impl Unpin for ContentTransferEncoding
impl UnwindSafe for ContentTransferEncoding
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