pub struct Source<A> {
pub binding: Binding,
pub kind: SourceKind<A>,
}Expand description
A data source in a FROM clause.
Sources specify where data comes from in a query. Each source has a binding (the variable name) and a kind (what it binds to).
§Examples
In FROM e IN events, the source has:
binding:"e"kind:SourceKind::Name("events")
Fields§
§binding: BindingVariable name bound to this source
kind: SourceKind<A>What this source represents
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for Source<A>
impl<A> RefUnwindSafe for Source<A>where
A: RefUnwindSafe,
impl<A> Send for Source<A>where
A: Send,
impl<A> Sync for Source<A>where
A: Sync,
impl<A> Unpin for Source<A>
impl<A> UnwindSafe for Source<A>where
A: 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