pub enum ViewValue {
Many(Rc<Vec<ViewEntry>>),
One(Option<Box<ViewEntry>>),
Value(Value),
}Expand description
A relationship in a view: several rows, at most one, or an aggregate’s value.
Variants§
Many(Rc<Vec<ViewEntry>>)
Shared with earlier snapshots until changed.
One(Option<Box<ViewEntry>>)
Value(Value)
The value of an aggregate (count(), sum(...), …): a number, or
null for an empty sum, avg, min or max.
Implementations§
Trait Implementations§
impl StructuralPartialEq for ViewValue
Auto Trait Implementations§
impl !Send for ViewValue
impl !Sync for ViewValue
impl Forget for ViewValue
impl Freeze for ViewValue
impl Move for ViewValue
impl RefUnwindSafe for ViewValue
impl Unpin for ViewValue
impl UnsafeUnpin for ViewValue
impl UnwindSafe for ViewValue
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