pub struct JoinDef {
pub field_name: String,
pub target_cube: String,
pub conditions: Vec<(String, String)>,
pub description: Option<String>,
}Expand description
Declares a LEFT JOIN relationship from this cube to another cube.
Fields§
§field_name: StringGraphQL field name on the source record, e.g. “joinTransfers”
target_cube: StringTarget cube name as registered in the CubeRegistry, e.g. “Transfers”
conditions: Vec<(String, String)>(local_column, remote_column) pairs for the ON clause.
description: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for JoinDef
impl RefUnwindSafe for JoinDef
impl Send for JoinDef
impl Sync for JoinDef
impl Unpin for JoinDef
impl UnsafeUnpin for JoinDef
impl UnwindSafe for JoinDef
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