Struct below_model::BTreeMapFieldId
source · pub struct BTreeMapFieldId<K, F: FieldId> {
pub key: Option<K>,
pub subquery_id: F,
}
Expand description
Type that makes BTreeMap Queriable if its value is Queriable. Uses key
to query into a map. Uses subquery_id
to query into the selected value.
Fields§
§key: Option<K>
None is only for listing variants and otherwise invalid.
subquery_id: F
Trait Implementations§
source§impl<K: Clone, F: Clone + FieldId> Clone for BTreeMapFieldId<K, F>
impl<K: Clone, F: Clone + FieldId> Clone for BTreeMapFieldId<K, F>
source§fn clone(&self) -> BTreeMapFieldId<K, F>
fn clone(&self) -> BTreeMapFieldId<K, F>
Returns a copy 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 moresource§impl<K: PartialEq, F: PartialEq + FieldId> PartialEq for BTreeMapFieldId<K, F>
impl<K: PartialEq, F: PartialEq + FieldId> PartialEq for BTreeMapFieldId<K, F>
source§fn eq(&self, other: &BTreeMapFieldId<K, F>) -> bool
fn eq(&self, other: &BTreeMapFieldId<K, F>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<K, F: FieldId + Sequence> Sequence for BTreeMapFieldId<K, F>
impl<K, F: FieldId + Sequence> Sequence for BTreeMapFieldId<K, F>
impl<K, F: FieldId> StructuralPartialEq for BTreeMapFieldId<K, F>
Auto Trait Implementations§
impl<K, F> Freeze for BTreeMapFieldId<K, F>
impl<K, F> RefUnwindSafe for BTreeMapFieldId<K, F>where
F: RefUnwindSafe,
K: RefUnwindSafe,
impl<K, F> Send for BTreeMapFieldId<K, F>
impl<K, F> Sync for BTreeMapFieldId<K, F>
impl<K, F> Unpin for BTreeMapFieldId<K, F>
impl<K, F> UnwindSafe for BTreeMapFieldId<K, F>where
F: UnwindSafe,
K: UnwindSafe,
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