Struct fuel_indexer_lib::graphql::parser::JoinTableMeta
source · pub struct JoinTableMeta {
pub table_name: String,
pub local_table_name: String,
pub column_name: String,
pub column_type: String,
pub ref_table_name: String,
pub ref_column_name: String,
pub ref_column_type: String,
}Expand description
Represents metadata related to a many-to-many relationship in the GraphQL schema.
Fields§
§table_name: StringName of the join table
local_table_name: StringTypeDefinition name on which join relationship was found.
column_name: StringName of local column on which to join.
This is always id for now.
column_type: StringType of the column on the local table on which to join.
This is always ColumnType::UInt8 for now.
ref_table_name: StringTypeDefinition name to which this join references.
ref_column_name: StringName of the column on the referenced table on which to join.
This is always id for now.
ref_column_type: StringType of the column on the referenced table on which to join.
This is always ColumnType::UInt8 for now.
Implementations§
Trait Implementations§
source§impl Clone for JoinTableMeta
impl Clone for JoinTableMeta
source§fn clone(&self) -> JoinTableMeta
fn clone(&self) -> JoinTableMeta
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for JoinTableMeta
impl Send for JoinTableMeta
impl Sync for JoinTableMeta
impl Unpin for JoinTableMeta
impl UnwindSafe for JoinTableMeta
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