pub struct FederatedGraphV1 {Show 13 fields
pub subgraphs: Vec<Subgraph>,
pub root_operation_types: RootOperationTypes,
pub objects: Vec<Object>,
pub object_fields: Vec<ObjectField>,
pub interfaces: Vec<Interface>,
pub interface_fields: Vec<InterfaceField>,
pub fields: Vec<Field>,
pub enums: Vec<Enum>,
pub unions: Vec<Union>,
pub scalars: Vec<Scalar>,
pub input_objects: Vec<InputObject>,
pub strings: Vec<String>,
pub field_types: Vec<FieldType>,
}
Expand description
A composed federated graph.
§API contract
Guarantees:
- All the identifiers are correct.
Does not guarantee:
- The ordering of items inside each
Vec
.
Fields§
§subgraphs: Vec<Subgraph>
§root_operation_types: RootOperationTypes
§objects: Vec<Object>
§object_fields: Vec<ObjectField>
§interfaces: Vec<Interface>
§interface_fields: Vec<InterfaceField>
§fields: Vec<Field>
§enums: Vec<Enum>
§unions: Vec<Union>
§scalars: Vec<Scalar>
§input_objects: Vec<InputObject>
§strings: Vec<String>
All the strings in the supergraph, deduplicated.
field_types: Vec<FieldType>
All the field types in the supergraph, deduplicated.
Trait Implementations§
source§impl Clone for FederatedGraphV1
impl Clone for FederatedGraphV1
source§fn clone(&self) -> FederatedGraphV1
fn clone(&self) -> FederatedGraphV1
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 FederatedGraphV1
impl Debug for FederatedGraphV1
source§impl<'de> Deserialize<'de> for FederatedGraphV1
impl<'de> Deserialize<'de> for FederatedGraphV1
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 Index<EnumId> for FederatedGraphV1
impl Index<EnumId> for FederatedGraphV1
source§impl Index<FieldId> for FederatedGraphV1
impl Index<FieldId> for FederatedGraphV1
source§impl Index<FieldTypeId> for FederatedGraphV1
impl Index<FieldTypeId> for FederatedGraphV1
source§impl Index<InputObjectId> for FederatedGraphV1
impl Index<InputObjectId> for FederatedGraphV1
§type Output = InputObject
type Output = InputObject
The returned type after indexing.
source§fn index(&self, index: InputObjectId) -> &InputObject
fn index(&self, index: InputObjectId) -> &InputObject
Performs the indexing (
container[index]
) operation. Read moresource§impl Index<InterfaceId> for FederatedGraphV1
impl Index<InterfaceId> for FederatedGraphV1
source§impl Index<ObjectId> for FederatedGraphV1
impl Index<ObjectId> for FederatedGraphV1
source§impl Index<ScalarId> for FederatedGraphV1
impl Index<ScalarId> for FederatedGraphV1
source§impl Index<StringId> for FederatedGraphV1
impl Index<StringId> for FederatedGraphV1
source§impl Index<SubgraphId> for FederatedGraphV1
impl Index<SubgraphId> for FederatedGraphV1
source§impl Index<UnionId> for FederatedGraphV1
impl Index<UnionId> for FederatedGraphV1
source§impl IndexMut<EnumId> for FederatedGraphV1
impl IndexMut<EnumId> for FederatedGraphV1
source§impl IndexMut<FieldId> for FederatedGraphV1
impl IndexMut<FieldId> for FederatedGraphV1
source§impl IndexMut<FieldTypeId> for FederatedGraphV1
impl IndexMut<FieldTypeId> for FederatedGraphV1
source§impl IndexMut<InputObjectId> for FederatedGraphV1
impl IndexMut<InputObjectId> for FederatedGraphV1
source§fn index_mut(&mut self, index: InputObjectId) -> &mut InputObject
fn index_mut(&mut self, index: InputObjectId) -> &mut InputObject
Performs the mutable indexing (
container[index]
) operation. Read moresource§impl IndexMut<InterfaceId> for FederatedGraphV1
impl IndexMut<InterfaceId> for FederatedGraphV1
source§impl IndexMut<ObjectId> for FederatedGraphV1
impl IndexMut<ObjectId> for FederatedGraphV1
source§impl IndexMut<ScalarId> for FederatedGraphV1
impl IndexMut<ScalarId> for FederatedGraphV1
source§impl IndexMut<StringId> for FederatedGraphV1
impl IndexMut<StringId> for FederatedGraphV1
source§impl IndexMut<SubgraphId> for FederatedGraphV1
impl IndexMut<SubgraphId> for FederatedGraphV1
source§impl IndexMut<UnionId> for FederatedGraphV1
impl IndexMut<UnionId> for FederatedGraphV1
Auto Trait Implementations§
impl RefUnwindSafe for FederatedGraphV1
impl Send for FederatedGraphV1
impl Sync for FederatedGraphV1
impl Unpin for FederatedGraphV1
impl UnwindSafe for FederatedGraphV1
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