pub struct SparseRecord {
pub fields: PathFieldSet,
pub values: Vec<Value>,
}Expand description
A typed record, indicating the record represents a specific model (or a subset of its fields).
Fields§
§fields: PathFieldSetFields that are present
values: Vec<Value>Values
Trait Implementations§
Source§impl Clone for SparseRecord
impl Clone for SparseRecord
Source§fn clone(&self) -> SparseRecord
fn clone(&self) -> SparseRecord
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 moreSource§impl Debug for SparseRecord
impl Debug for SparseRecord
Source§impl From<SparseRecord> for Value
impl From<SparseRecord> for Value
Source§fn from(value: SparseRecord) -> Self
fn from(value: SparseRecord) -> Self
Converts to this type from the input type.
Source§impl Hash for SparseRecord
impl Hash for SparseRecord
Source§impl IntoIterator for SparseRecord
impl IntoIterator for SparseRecord
Source§impl PartialEq for SparseRecord
impl PartialEq for SparseRecord
impl Eq for SparseRecord
impl StructuralPartialEq for SparseRecord
Auto Trait Implementations§
impl Freeze for SparseRecord
impl RefUnwindSafe for SparseRecord
impl Send for SparseRecord
impl Sync for SparseRecord
impl Unpin for SparseRecord
impl UnwindSafe for SparseRecord
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.