pub struct GraphqlFederationMetadata {
pub directive: String,
pub target: String,
pub arguments: BTreeMap<String, GraphqlLiteralKind>,
pub lines: GraphqlLineRange,
}Expand description
Declarative Apollo federation or schema-stitching directive.
Fields§
§directive: StringDirective name without the leading at-sign.
target: StringSchema, type, or exact field coordinate carrying the directive.
arguments: BTreeMap<String, GraphqlLiteralKind>Structural categories of directive arguments.
lines: GraphqlLineRangeSource evidence for the directive.
Trait Implementations§
Source§impl Clone for GraphqlFederationMetadata
impl Clone for GraphqlFederationMetadata
Source§fn clone(&self) -> GraphqlFederationMetadata
fn clone(&self) -> GraphqlFederationMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GraphqlFederationMetadata
impl Debug for GraphqlFederationMetadata
Source§impl<'de> Deserialize<'de> for GraphqlFederationMetadata
impl<'de> Deserialize<'de> for GraphqlFederationMetadata
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
impl Eq for GraphqlFederationMetadata
Source§impl Ord for GraphqlFederationMetadata
impl Ord for GraphqlFederationMetadata
Source§fn cmp(&self, other: &GraphqlFederationMetadata) -> Ordering
fn cmp(&self, other: &GraphqlFederationMetadata) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for GraphqlFederationMetadata
impl PartialOrd for GraphqlFederationMetadata
impl StructuralPartialEq for GraphqlFederationMetadata
Auto Trait Implementations§
impl Freeze for GraphqlFederationMetadata
impl RefUnwindSafe for GraphqlFederationMetadata
impl Send for GraphqlFederationMetadata
impl Sync for GraphqlFederationMetadata
impl Unpin for GraphqlFederationMetadata
impl UnsafeUnpin for GraphqlFederationMetadata
impl UnwindSafe for GraphqlFederationMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.