[][src]Struct muttmates::fields::FN

pub struct FN<'a> {
    pub name: &'a str,
}

The FN field of a VCard is a required field

Example

use muttmates::fields::FN;

let field = FN::new("FN:Foo Bar");
assert_eq!(field.name, "Foo Bar" );

Fields

name: &'a str

Methods

impl<'a> FN<'a>[src]

pub fn new(raw: &'a str) -> FN<'a>[src]

Trait Implementations

impl<'a> PartialEq<FN<'a>> for FN<'a>[src]

impl<'a> Display for FN<'a>[src]

impl<'a> Debug for FN<'a>[src]

Auto Trait Implementations

impl<'a> Send for FN<'a>

impl<'a> Sync for FN<'a>

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]