Enum smtp_message::ParameterName
source · [−]pub enum ParameterName<S> {
Other(S),
}
Variants
Other(S)
Implementations
sourceimpl<S> ParameterName<S>
impl<S> ParameterName<S>
sourceimpl<S> ParameterName<S> where
S: AsRef<str>,
impl<S> ParameterName<S> where
S: AsRef<str>,
pub fn as_io_slices(&self) -> impl Iterator<Item = IoSlice<'_>>
Trait Implementations
sourceimpl<S: Clone> Clone for ParameterName<S>
impl<S: Clone> Clone for ParameterName<S>
sourcefn clone(&self) -> ParameterName<S>
fn clone(&self) -> ParameterName<S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<S: Debug> Debug for ParameterName<S>
impl<S: Debug> Debug for ParameterName<S>
sourceimpl<S: PartialEq> PartialEq<ParameterName<S>> for ParameterName<S>
impl<S: PartialEq> PartialEq<ParameterName<S>> for ParameterName<S>
sourcefn eq(&self, other: &ParameterName<S>) -> bool
fn eq(&self, other: &ParameterName<S>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParameterName<S>) -> bool
fn ne(&self, other: &ParameterName<S>) -> bool
This method tests for !=
.
impl<S: Copy> Copy for ParameterName<S>
impl<S: Eq> Eq for ParameterName<S>
impl<S> StructuralEq for ParameterName<S>
impl<S> StructuralPartialEq for ParameterName<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for ParameterName<S> where
S: RefUnwindSafe,
impl<S> Send for ParameterName<S> where
S: Send,
impl<S> Sync for ParameterName<S> where
S: Sync,
impl<S> Unpin for ParameterName<S> where
S: Unpin,
impl<S> UnwindSafe for ParameterName<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more