Struct IndexedObject
pub struct IndexedObject<T> {
pub mac_term: [u8; 16],
pub fields: HashMap<Selector, IndexedValue<T>>,
}Fields§
§mac_term: [u8; 16]§fields: HashMap<Selector, IndexedValue<T>>Implementations§
§impl<T> IndexedObject<T>
impl<T> IndexedObject<T>
pub fn map<U, F, E>(self, mapper: F) -> Result<IndexedObject<U>, E>
Trait Implementations§
§impl<T: Debug> Debug for IndexedObject<T>
impl<T: Debug> Debug for IndexedObject<T>
§impl<T> JsonbContains<IndexedValue<()>> for IndexedObject<T>
impl<T> JsonbContains<IndexedValue<()>> for IndexedObject<T>
fn jsonb_contains(&self, other: &IndexedValue<()>) -> bool
§impl<T> PartialEq<IndexedObject<()>> for IndexedObject<T>
impl<T> PartialEq<IndexedObject<()>> for IndexedObject<T>
§fn eq(&self, other: &IndexedObject<()>) -> bool
fn eq(&self, other: &IndexedObject<()>) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
impl<T> Freeze for IndexedObject<T>
impl<T> RefUnwindSafe for IndexedObject<T>where
T: RefUnwindSafe,
impl<T> Send for IndexedObject<T>where
T: Send,
impl<T> Sync for IndexedObject<T>where
T: Sync,
impl<T> Unpin for IndexedObject<T>where
T: Unpin,
impl<T> UnsafeUnpin for IndexedObject<T>
impl<T> UnwindSafe for IndexedObject<T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> AuthStrategyBounds for T
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> 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