[][src]Struct adstxt::parser::AdsTxt

pub struct AdsTxt<'a> {
    pub records: Vec<Record<'a>>,
    pub variables: HashMap<&'a str, Vec<&'a str>>,
}

Represents ads.txt data.

Fields

records: Vec<Record<'a>>variables: HashMap<&'a str, Vec<&'a str>>

Trait Implementations

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

impl<'a> From<Vec<Row<'a>>> for AdsTxt<'a>[src]

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

impl<'a> StructuralPartialEq for AdsTxt<'a>[src]

impl<'a> TryFrom<&'a str> for AdsTxt<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for AdsTxt<'a>

impl<'a> Send for AdsTxt<'a>

impl<'a> Sync for AdsTxt<'a>

impl<'a> Unpin for AdsTxt<'a>

impl<'a> UnwindSafe for AdsTxt<'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, 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.