pub struct AddrSpec {
pub local_part: String,
pub domain: String,
}
Fields§
§local_part: String
§domain: String
Implementations§
Trait Implementations§
source§impl EncodeHeaderValue for AddrSpec
impl EncodeHeaderValue for AddrSpec
fn encode_value(&self) -> SharedString<'static>
fn as_header(&self, _name: &str) -> Option<Header<'static>>
impl Eq for AddrSpec
impl StructuralPartialEq for AddrSpec
Auto Trait Implementations§
impl Freeze for AddrSpec
impl RefUnwindSafe for AddrSpec
impl Send for AddrSpec
impl Sync for AddrSpec
impl Unpin for AddrSpec
impl UnwindSafe for AddrSpec
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)