[][src]Struct amadeus_types::List

pub struct List<T>(_);

List<T> corresponds to the List logical type.

Methods

impl<T> List<T>[src]

pub fn iter(&self) -> Iter<T>[src]

Returns an iterator over references to the elements of the List.

Trait Implementations

impl<T> DowncastImpl<Value> for List<T> where
    T: DowncastImpl<Value>, 
[src]

impl DowncastImpl<Value> for List<Value>[src]

impl<T: Eq> Eq for List<T>[src]

impl<T> Into<Vec<T>> for List<T>[src]

impl<T: Clone> Clone for List<T>[src]

impl<T: PartialOrd> PartialOrd<List<T>> for List<T>[src]

impl<T, U> PartialEq<List<U>> for List<T> where
    T: PartialEq<U>, 
[src]

impl<T> PartialEq<List<T>> for Value where
    Value: PartialEq<T>, 
[src]

impl<T> IntoIterator for List<T>[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?

fn into_iter(self) -> Self::IntoIter[src]

Creates an iterator over the elements of the List.

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

impl<T> From<List<T>> for Value where
    T: Into<Self>, 
[src]

impl From<List<Value>> for Value[src]

impl<T: Hash> Hash for List<T>[src]

impl<T, I> Index<I> for List<T> where
    I: SliceIndex<[T]>, 
[src]

type Output = <I as SliceIndex<[T]>>::Output

The returned type after indexing.

impl<T> Debug for List<T> where
    T: Debug
[src]

impl<T> Serialize for List<T> where
    T: Serialize
[src]

impl<'de, T> Deserialize<'de> for List<T> where
    T: Deserialize<'de>, 
[src]

Auto Trait Implementations

impl<T> Unpin for List<T> where
    T: Unpin

impl<T> Sync for List<T> where
    T: Sync

impl<T> Send for List<T> where
    T: Send

impl<T> UnwindSafe for List<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for List<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<A, B> Downcast<A> for B where
    A: DowncastImpl<B>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for 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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]