pub enum DocumentSource {
Binding {
binding: BindingId,
},
AttributeList {
attribute: AttributeId,
owner: BindingId,
},
}Expand description
One value source of a fetched document field.
Variants§
Binding
The scalar value of one visible binding; optional bindings fetch as an explicit JSON null where absent.
AttributeList
Every value of one attribute on one mandatory owner binding, fetched as a typed list (empty where the owner has none).
Trait Implementations§
Source§impl Clone for DocumentSource
impl Clone for DocumentSource
Source§fn clone(&self) -> DocumentSource
fn clone(&self) -> DocumentSource
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 DocumentSource
impl Debug for DocumentSource
impl Eq for DocumentSource
Source§impl PartialEq for DocumentSource
impl PartialEq for DocumentSource
Source§impl Serialize for DocumentSource
impl Serialize for DocumentSource
impl StructuralPartialEq for DocumentSource
Auto Trait Implementations§
impl Freeze for DocumentSource
impl RefUnwindSafe for DocumentSource
impl Send for DocumentSource
impl Sync for DocumentSource
impl Unpin for DocumentSource
impl UnsafeUnpin for DocumentSource
impl UnwindSafe for DocumentSource
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