Struct graphql_federated_graph::Key
source · pub struct Key {
pub subgraph_id: SubgraphId,
pub fields: FieldSet,
pub is_interface_object: bool,
pub resolvable: bool,
}Fields§
§subgraph_id: SubgraphIdThe subgraph that can resolve the entity with the fields in Key::fields.
fields: FieldSetCorresponds to the fields in an @key directive.
is_interface_object: boolCorrespond to the @join__type(isInterfaceObject: true) directive argument.
resolvable: boolTrait Implementations§
source§impl<'de> Deserialize<'de> for Key
impl<'de> Deserialize<'de> for Key
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
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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