pub struct AttributeList(pub Vec<Attribute>);Tuple Fields§
§0: Vec<Attribute>Implementations§
Source§impl AttributeList
impl AttributeList
pub fn iter_fields( &self, attre: &str, fielde: &str, cb: impl FnMut(&AttributeValue), )
pub fn get_multi<T>(
&self,
attre: &str,
fielde: &str,
) -> Result<Vec<T>, T::Error>where
T: TryFrom<AttributeValue>,
pub fn try_get_single<T>( &self, attre: &str, fielde: &str, ) -> Result<Option<T>, T::Error>
pub fn get_single<T>(&self, attre: &str, fielde: &str) -> Result<T, T::Error>
Trait Implementations§
Source§impl Clone for AttributeList
impl Clone for AttributeList
Source§fn clone(&self) -> AttributeList
fn clone(&self) -> AttributeList
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AttributeList
impl RefUnwindSafe for AttributeList
impl Send for AttributeList
impl Sync for AttributeList
impl Unpin for AttributeList
impl UnwindSafe for AttributeList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more