pub struct Rel {
pub id: usize,
pub inputs: Vec<usize>,
pub rel_op: String,
pub table: Option<Vec<String>>,
pub condition: Option<Condition>,
pub join_type: Option<String>,
pub exprs: Option<Vec<Operand>>,
pub fields: Option<Vec<String>>,
pub all: Option<bool>,
pub aggs: Option<Vec<Value>>,
pub group: Option<Vec<usize>>,
pub extra: HashMap<String, Value>,
}Fields§
§id: usize§inputs: Vec<usize>§rel_op: String§table: Option<Vec<String>>This is a vector where the elements concatenated form a fully qualified table name.
e.g., usually is of the form [$namespace, $table] / [schema, table]
condition: Option<Condition>§join_type: Option<String>§exprs: Option<Vec<Operand>>§fields: Option<Vec<String>>§all: Option<bool>§aggs: Option<Vec<Value>>§group: Option<Vec<usize>>§extra: HashMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Rel
impl<'de> Deserialize<'de> for Rel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'__s> ToSchema<'__s> for Rel
impl<'__s> ToSchema<'__s> for Rel
impl Eq for Rel
impl StructuralPartialEq for Rel
Auto Trait Implementations§
impl Freeze for Rel
impl RefUnwindSafe for Rel
impl Send for Rel
impl Sync for Rel
impl Unpin for Rel
impl UnwindSafe for Rel
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.