pub struct SubscriptionField {
pub name: String,
pub table_name: String,
pub schema_name: String,
pub return_type: String,
pub description: Option<String>,
}Expand description
A subscription field in the GraphQL schema.
Fields§
§name: StringThe GraphQL field name (e.g., “users”, “orders”)
table_name: StringThe source table name
schema_name: StringThe source schema name
return_type: StringThe return type (e.g., “Users”, “Orders”)
description: Option<String>Description for documentation
Implementations§
Trait Implementations§
Source§impl Clone for SubscriptionField
impl Clone for SubscriptionField
Source§fn clone(&self) -> SubscriptionField
fn clone(&self) -> SubscriptionField
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 moreAuto Trait Implementations§
impl Freeze for SubscriptionField
impl RefUnwindSafe for SubscriptionField
impl Send for SubscriptionField
impl Sync for SubscriptionField
impl Unpin for SubscriptionField
impl UnwindSafe for SubscriptionField
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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