[][src]Struct user_agent_parser::Product

pub struct Product<'a> {
    pub name: Option<Cow<'a, str>>,
    pub major: Option<Cow<'a, str>>,
    pub minor: Option<Cow<'a, str>>,
    pub patch: Option<Cow<'a, str>>,
}

Fields

name: Option<Cow<'a, str>>major: Option<Cow<'a, str>>minor: Option<Cow<'a, str>>patch: Option<Cow<'a, str>>

Implementations

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

pub fn into_owned(self) -> Product<'static>[src]

Extracts the owned data.

Trait Implementations

impl<'a> Clone for Product<'a>[src]

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

impl<'a> Default for Product<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Product<'a>

impl<'a> Send for Product<'a>

impl<'a> Sync for Product<'a>

impl<'a> Unpin for Product<'a>

impl<'a> UnwindSafe for Product<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.