[−][src]Struct amadeus::prelude::data::List
List<T>
corresponds to the List logical type.
Methods
impl<T> List<T>
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn iter(&self) -> Iter<T>
[src]
Returns an iterator over references to the elements of the List.
Trait Implementations
impl<T> PostgresData for List<T> where
T: PostgresData,
[src]
T: PostgresData,
fn query(_f: &mut Formatter, _name: Option<&Names>) -> Result<(), Error>
[src]
fn decode(
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<List<T>, Box<dyn Error + 'static + Send + Sync>>
[src]
_type_: &Type,
_buf: Option<&[u8]>
) -> Result<List<T>, Box<dyn Error + 'static + Send + Sync>>
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) -> <List<T> as IntoIterator>::IntoIter
[src]
Creates an iterator over the elements of the List.
impl<T> Clone for List<T> where
T: Clone,
[src]
T: Clone,
impl<T> Eq for List<T> where
T: Eq,
[src]
T: Eq,
impl<T> PartialOrd<List<T>> for List<T> where
T: PartialOrd<T>,
[src]
T: PartialOrd<T>,
fn partial_cmp(&self, other: &List<T>) -> Option<Ordering>
[src]
fn lt(&self, other: &List<T>) -> bool
[src]
fn le(&self, other: &List<T>) -> bool
[src]
fn gt(&self, other: &List<T>) -> bool
[src]
fn ge(&self, other: &List<T>) -> bool
[src]
impl<T> Serialize for List<T> where
T: Serialize,
[src]
T: Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<T> DowncastImpl<Value> for List<T> where
T: DowncastImpl<Value>,
[src]
T: DowncastImpl<Value>,
default fn downcast_impl(self_: Value) -> Result<List<T>, DowncastError>
[src]
impl DowncastImpl<Value> for List<Value>
[src]
fn downcast_impl(self_: Value) -> Result<List<Value>, DowncastError>
[src]
impl<T> From<Vec<T>> for List<T>
[src]
impl<T> From<List<T>> for Value where
T: Into<Value>,
[src]
T: Into<Value>,
impl From<List<Value>> for Value
[src]
impl<T> Debug for List<T> where
T: Debug,
[src]
T: Debug,
impl<T> Hash for List<T> where
T: Hash,
[src]
T: Hash,
fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T, I> Index<I> for List<T> where
I: SliceIndex<[T]>,
[src]
I: SliceIndex<[T]>,
type Output = <I as SliceIndex<[T]>>::Output
The returned type after indexing.
fn index(&self, index: I) -> &<List<T> as Index<I>>::Output
[src]
impl<T> Into<Vec<T>> for List<T>
[src]
impl<'de, T> Deserialize<'de> for List<T> where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<List<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<List<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<T> PartialEq<List<T>> for Value where
Value: PartialEq<T>,
[src]
Value: PartialEq<T>,
impl<T, U> PartialEq<List<U>> for List<T> where
T: PartialEq<U>,
[src]
T: PartialEq<U>,
impl<T> SerdeData for List<T> where
T: SerdeData,
[src]
T: SerdeData,
fn serialize<S>(
&self,
_serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
[src]
&self,
_serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
fn deserialize<'de, D>(
_deserializer: D,
_schema: Option<SchemaIncomplete>
) -> Result<List<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
_deserializer: D,
_schema: Option<SchemaIncomplete>
) -> Result<List<T>, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl<T> Data for List<T> where
T: Data,
[src]
T: Data,
Auto Trait Implementations
impl<T> Send for List<T> where
T: Send,
T: Send,
impl<T> Sync for List<T> where
T: Sync,
T: Sync,
impl<T> Unpin for List<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for List<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for List<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
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?
fn into_iter(self) -> I
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<A, B> Downcast<A> for B where
A: DowncastImpl<B>,
[src]
A: DowncastImpl<B>,
fn downcast(self) -> Result<A, DowncastError>
[src]
impl<T> ProcessSend for T where
T: Send + Serialize + Deserialize<'de> + 'static + ?Sized,
[src]
T: Send + Serialize + Deserialize<'de> + 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> IntersectPlusUnionIsPlus for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> FromBits<T> for T
fn from_bits(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
U: FromBits<T>,
fn into_bits(self) -> U
impl<T> Any for T where
T: Any + Serialize + Deserialize,
[src]
T: Any + Serialize + Deserialize,
fn as_any(&self) -> &(dyn Any + 'static)
[src]
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
[src]
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
[src]
fn into_any_send(self: Box<T>) -> Box<dyn Any + 'static + Send> where
T: Send,
[src]
T: Send,
fn into_any_sync(self: Box<T>) -> Box<dyn Any + 'static + Sync> where
T: Sync,
[src]
T: Sync,
fn into_any_send_sync(self: Box<T>) -> Box<dyn Any + 'static + Send + Sync> where
T: Send + Sync,
[src]
T: Send + Sync,
impl<T> Debug for T where
T: Debug + Serialize + Deserialize + ?Sized,
[src]
T: Debug + Serialize + Deserialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
impl<T> Deserialize for T where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
[src]
impl<T> Type for T
[src]
const METATYPE: MetaType
[src]
type Meta = Concrete
Type of metadata for type.
fn meta(&self) -> <T as Type>::Meta
[src]
fn data(&self) -> *const ()
[src]
fn data_mut(&mut self) -> *mut ()
[src]
unsafe fn uninitialized_box(<T as Type>::Meta) -> Box<T>
[src]
fn meta_type(&self) -> MetaType
[src]
impl<T> Type for T where
T: ?Sized,
[src]
T: ?Sized,
default fn meta(&self) -> <T as Type>::Meta
[src]
default fn data(&self) -> *const ()
[src]
default fn data_mut(&mut self) -> *mut ()
[src]
unsafe default fn uninitialized_box(t: <T as Type>::Meta) -> Box<T>
[src]
const METATYPE: MetaType
[src]
type Meta: 'static
fn meta_type(&self) -> MetaType
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,