pub enum MultipartSubtype {
Show 18 variants
Alternative,
Appledouble,
Byteranges,
Digest,
Encrypted,
Example,
FormData,
HeaderSet,
Mixed,
Multilingual,
Parallel,
Related,
Report,
Signed,
VndDotBintDotMedPlus,
VoiceMessage,
XMixedReplace,
Private(PrivateSubtype),
}Variants§
Alternative
alternative
Appledouble
appledouble
Byteranges
byteranges
Digest
digest
Encrypted
encrypted
Example
example
FormData
form-data
HeaderSet
header-set
Mixed
mixed
Multilingual
multilingual
Parallel
parallel
Related
related
Report
report
Signed
signed
VndDotBintDotMedPlus
vnd.bint.med-plus
VoiceMessage
voice-message
XMixedReplace
x-mixed-replace
Private(PrivateSubtype)
private
Implementations§
Trait Implementations§
Source§impl Clone for MultipartSubtype
impl Clone for MultipartSubtype
Source§fn clone(&self) -> MultipartSubtype
fn clone(&self) -> MultipartSubtype
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MultipartSubtype
impl Debug for MultipartSubtype
impl Eq for MultipartSubtype
Source§impl FromStr for MultipartSubtype
impl FromStr for MultipartSubtype
Source§type Err = MediaTypeError
type Err = MediaTypeError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<MultipartSubtype, <MultipartSubtype as FromStr>::Err>
fn from_str( s: &str, ) -> Result<MultipartSubtype, <MultipartSubtype as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Ord for MultipartSubtype
impl Ord for MultipartSubtype
Source§fn cmp(&self, other: &MultipartSubtype) -> Ordering
fn cmp(&self, other: &MultipartSubtype) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MultipartSubtype
impl PartialEq for MultipartSubtype
Source§impl PartialOrd for MultipartSubtype
impl PartialOrd for MultipartSubtype
impl StructuralPartialEq for MultipartSubtype
Auto Trait Implementations§
impl Freeze for MultipartSubtype
impl RefUnwindSafe for MultipartSubtype
impl Send for MultipartSubtype
impl Sync for MultipartSubtype
impl Unpin for MultipartSubtype
impl UnsafeUnpin for MultipartSubtype
impl UnwindSafe for MultipartSubtype
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