pub struct JoinFieldDirective {
    pub subgraph_id: Option<SubgraphId>,
    pub requires: Option<SelectionSet>,
    pub provides: Option<SelectionSet>,
    pub type: Option<Type>,
    pub external: bool,
    pub override: Option<OverrideSource>,
    pub override_label: Option<OverrideLabel>,
}Expand description
ⓘ
 directive @join__field(
     graph: join__Graph,
     requires: join__FieldSet,
     provides: join__FieldSet,
     type: String,
     external: Boolean,
     override: String,
     overrideLabel: String
 ) repeatable on FIELD_DEFINITION | INPUT_FIELD_DEFINITIONFields§
§subgraph_id: Option<SubgraphId>§requires: Option<SelectionSet>§provides: Option<SelectionSet>§type: Option<Type>§external: bool§override: Option<OverrideSource>§override_label: Option<OverrideLabel>Trait Implementations§
Source§impl Clone for JoinFieldDirective
 
impl Clone for JoinFieldDirective
Source§fn clone(&self) -> JoinFieldDirective
 
fn clone(&self) -> JoinFieldDirective
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 moreSource§impl Debug for JoinFieldDirective
 
impl Debug for JoinFieldDirective
Source§impl Default for JoinFieldDirective
 
impl Default for JoinFieldDirective
Source§fn default() -> JoinFieldDirective
 
fn default() -> JoinFieldDirective
Returns the “default value” for a type. Read more
Source§impl From<JoinFieldDirective> for Directive
 
impl From<JoinFieldDirective> for Directive
Source§fn from(d: JoinFieldDirective) -> Self
 
fn from(d: JoinFieldDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JoinFieldDirective
 
impl PartialEq for JoinFieldDirective
Source§impl PartialOrd for JoinFieldDirective
 
impl PartialOrd for JoinFieldDirective
impl StructuralPartialEq for JoinFieldDirective
Auto Trait Implementations§
impl Freeze for JoinFieldDirective
impl RefUnwindSafe for JoinFieldDirective
impl Send for JoinFieldDirective
impl Sync for JoinFieldDirective
impl Unpin for JoinFieldDirective
impl UnwindSafe for JoinFieldDirective
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
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more