pub struct ExtensionLinkDirective {
pub url: StringId,
pub schema_directives: Vec<ExtensionLinkSchemaDirective>,
}
Expand description
ⓘ
"""
The directive that associates values of the `extension__Link` enum to the extension's url.
"""
directive @extension__link(
"""
The `@link()`ed extension's url, including name and version.
"""
url: String!
"""
The directives on schema definitions and extensions that are associated with the extension.
"""
schemaDirectives: [extension__LinkSchemaDirective!]
) repeatable on ENUM_VALUE
Fields§
§url: StringId
§schema_directives: Vec<ExtensionLinkSchemaDirective>
Trait Implementations§
Source§impl Clone for ExtensionLinkDirective
impl Clone for ExtensionLinkDirective
Source§fn clone(&self) -> ExtensionLinkDirective
fn clone(&self) -> ExtensionLinkDirective
Returns a duplicate 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 ExtensionLinkDirective
impl Debug for ExtensionLinkDirective
Source§impl PartialEq for ExtensionLinkDirective
impl PartialEq for ExtensionLinkDirective
Source§impl PartialOrd for ExtensionLinkDirective
impl PartialOrd for ExtensionLinkDirective
impl StructuralPartialEq for ExtensionLinkDirective
Auto Trait Implementations§
impl Freeze for ExtensionLinkDirective
impl RefUnwindSafe for ExtensionLinkDirective
impl Send for ExtensionLinkDirective
impl Sync for ExtensionLinkDirective
impl Unpin for ExtensionLinkDirective
impl UnwindSafe for ExtensionLinkDirective
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