pub enum DocumentColumnShape {
Scalar {
value_type: ValueTypeTag,
optional: bool,
},
List {
attribute: AttributeId,
element_type: ValueTypeTag,
},
}Expand description
The typed shape of one fetched document field.
Variants§
Scalar
One scalar value; optional sources fetch as explicit absence.
Fields
§
value_type: ValueTypeTagThe exact scalar type.
List
A typed list of every owned value of one attribute.
Fields
§
attribute: AttributeIdThe listed attribute.
§
element_type: ValueTypeTagThe exact scalar type of every list element.
Trait Implementations§
Source§impl Clone for DocumentColumnShape
impl Clone for DocumentColumnShape
Source§fn clone(&self) -> DocumentColumnShape
fn clone(&self) -> DocumentColumnShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DocumentColumnShape
impl Debug for DocumentColumnShape
impl Eq for DocumentColumnShape
Source§impl PartialEq for DocumentColumnShape
impl PartialEq for DocumentColumnShape
impl StructuralPartialEq for DocumentColumnShape
Auto Trait Implementations§
impl Freeze for DocumentColumnShape
impl RefUnwindSafe for DocumentColumnShape
impl Send for DocumentColumnShape
impl Sync for DocumentColumnShape
impl Unpin for DocumentColumnShape
impl UnsafeUnpin for DocumentColumnShape
impl UnwindSafe for DocumentColumnShape
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