pub struct PartOutcome {
pub kind: &'static str,
pub mime_type: Option<String>,
pub disposition: PartDisposition,
pub detail: String,
}Expand description
One part’s fate, with enough detail to act on.
Fields§
§kind: &'static strThe Part variant name, such as "InlineData".
mime_type: Option<String>The part’s MIME type where it has one.
disposition: PartDispositionWhat the adapter did.
detail: StringWhy, in terms a caller can act on.
Trait Implementations§
Source§impl Clone for PartOutcome
impl Clone for PartOutcome
Source§fn clone(&self) -> PartOutcome
fn clone(&self) -> PartOutcome
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 PartOutcome
impl Debug for PartOutcome
impl Eq for PartOutcome
Source§impl PartialEq for PartOutcome
impl PartialEq for PartOutcome
impl StructuralPartialEq for PartOutcome
Auto Trait Implementations§
impl Freeze for PartOutcome
impl RefUnwindSafe for PartOutcome
impl Send for PartOutcome
impl Sync for PartOutcome
impl Unpin for PartOutcome
impl UnsafeUnpin for PartOutcome
impl UnwindSafe for PartOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.