pub struct Array<S = SmolStr>(pub Vec<Data<S>>)
where
S: Bos<str> + AsRef<str>;Expand description
Array of AT Protocol data values
Tuple Fields§
§0: Vec<Data<S>>Implementations§
Trait Implementations§
Source§impl<'de, 'a, S> Deserialize<'de> for Array<S>
impl<'de, 'a, S> Deserialize<'de> for Array<S>
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Array<S>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Array<S>, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<S> Eq for Array<S>
Source§impl<S> IntoStatic for Array<S>
impl<S> IntoStatic for Array<S>
Source§type Output = Array<<S as IntoStatic>::Output>
type Output = Array<<S as IntoStatic>::Output>
The “owned” variant of the type. For
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Array<<S as IntoStatic>::Output>
fn into_static(self) -> Array<<S as IntoStatic>::Output>
Turns the value into an “owned” variant, which can then be returned, moved, etc. Read more
Source§impl<D> Serialize for Array<D>
impl<D> Serialize for Array<D>
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<S> StructuralPartialEq for Array<S>
Auto Trait Implementations§
impl<S> Freeze for Array<S>
impl<S> RefUnwindSafe for Array<S>where
S: RefUnwindSafe,
impl<S> Send for Array<S>where
S: Send,
impl<S> Sync for Array<S>where
S: Sync,
impl<S> Unpin for Array<S>where
S: Unpin,
impl<S> UnsafeUnpin for Array<S>
impl<S> UnwindSafe for Array<S>where
S: UnwindSafe + RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.