Docs.rs
mail-headers-0.6.6
mail-headers 0.6.6
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
rustonaut
Dependencies
chrono ^0.4
normal
failure ^0.1
normal
mail-internals ^0.2.3
normal
media-type ^0.4.0-unstable
normal
nom ^3.1.0
normal
owning_ref ^0.4
normal
quoted-string ^0.6
normal
serde ^1.0
normal
optional
soft-ascii-string ^1
normal
total-order-multi-map ^0.4.5
normal
vec1 ^1.3.0
normal
serde_test ^1.0.80
dev
Versions
53.54%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
mail_
headers
0.6.6
Header
Obj
Methods
downcast_mut
downcast_ref
is
Trait Implementations
Clone
HasHeaderName
In crate mail_
headers
mail_headers
Type Alias
HeaderObj
Copy item path
Source
pub type HeaderObj = dyn
HeaderObjTrait
;
Expand description
Type alias for HeaderObjTrait’s trait object.
Implementations
§
Source
§
impl
HeaderObj
Source
pub fn
is
<H>(&self) ->
bool
where H:
HeaderKind
,
Source
pub fn
downcast_ref
<H>(&self) ->
Option
<&
Header
<H>>
where H:
HeaderKind
,
Source
pub fn
downcast_mut
<H>(&mut self) ->
Option
<&mut
Header
<H>>
where H:
HeaderKind
,
Trait Implementations
§
Source
§
impl
Clone
for
Box
<
HeaderObj
>
Source
§
fn
clone
(&self) -> Self
Returns a duplicate of the value.
Read more
1.0.0
·
Source
§
fn
clone_from
(&mut self, source: &Self)
Performs copy-assignment from
source
.
Read more
Source
§
impl
HasHeaderName
for
HeaderObj
Source
§
fn
get_name
(&self) ->
HeaderName