pub trait IsOutputType<S: ScalarValue>: GraphQLType<S> {
// Provided method
fn mark() { ... }
}Expand description
Marker trait for types which can be used as output types.
The GraphQL specification differentiates between input and output types. Each type which can be used as an output type should implement this trait. The specification defines enum, scalar, object, union, and interface as output types.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
impl<S> IsOutputType<S> for strwhere
S: ScalarValue,
Source§impl<S, T> IsOutputType<S> for Option<T>where
T: IsOutputType<S>,
S: ScalarValue,
impl<S, T> IsOutputType<S> for Option<T>where
T: IsOutputType<S>,
S: ScalarValue,
Source§impl<S, T> IsOutputType<S> for &T
impl<S, T> IsOutputType<S> for &T
Source§impl<S, T> IsOutputType<S> for [T]where
T: IsOutputType<S>,
S: ScalarValue,
impl<S, T> IsOutputType<S> for [T]where
T: IsOutputType<S>,
S: ScalarValue,
Source§impl<S, T> IsOutputType<S> for Box<T>
impl<S, T> IsOutputType<S> for Box<T>
Source§impl<S, T> IsOutputType<S> for Arc<T>
impl<S, T> IsOutputType<S> for Arc<T>
Source§impl<S, T> IsOutputType<S> for Vec<T>where
T: IsOutputType<S>,
S: ScalarValue,
impl<S, T> IsOutputType<S> for Vec<T>where
T: IsOutputType<S>,
S: ScalarValue,
Source§impl<S, T, const N: usize> IsOutputType<S> for [T; N]where
T: IsOutputType<S>,
S: ScalarValue,
impl<S, T, const N: usize> IsOutputType<S> for [T; N]where
T: IsOutputType<S>,
S: ScalarValue,
impl<Tz, __S> IsOutputType<__S> for DateTime<Tz>
Available on crate feature
chrono only.impl<__S> IsOutputType<__S> for Tzwhere
__S: ScalarValue,
Available on crate feature
chrono-tz only.impl<__S> IsOutputType<__S> for boolwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for f64where
__S: ScalarValue,
impl<__S> IsOutputType<__S> for i32where
__S: ScalarValue,
impl<__S> IsOutputType<__S> for Stringwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for BigDecimalwhere
__S: ScalarValue,
Available on crate feature
bigdecimal only.impl<__S> IsOutputType<__S> for DateTimewhere
__S: ScalarValue,
Available on crate feature
bson only.impl<__S> IsOutputType<__S> for ObjectIdwhere
__S: ScalarValue,
Available on crate feature
bson only.impl<__S> IsOutputType<__S> for NaiveDatewhere
__S: ScalarValue,
Available on crate feature
chrono only.impl<__S> IsOutputType<__S> for NaiveDateTimewhere
__S: ScalarValue,
Available on crate feature
chrono only.impl<__S> IsOutputType<__S> for NaiveTimewhere
__S: ScalarValue,
Available on crate feature
chrono only.impl<__S> IsOutputType<__S> for CompactStringwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for Datewhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for DateTimewhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Timewhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Spanwhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Timestampwhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Offsetwhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for TimeZonewhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Zonedwhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for Decimalwhere
__S: ScalarValue,
Available on crate feature
rust_decimal only.impl<__S> IsOutputType<__S> for Datewhere
__S: ScalarValue,
Available on crate feature
time only.impl<__S> IsOutputType<__S> for OffsetDateTimewhere
__S: ScalarValue,
Available on crate feature
time only.impl<__S> IsOutputType<__S> for PrimitiveDateTimewhere
__S: ScalarValue,
Available on crate feature
time only.impl<__S> IsOutputType<__S> for Timewhere
__S: ScalarValue,
Available on crate feature
time only.impl<__S> IsOutputType<__S> for UtcOffsetwhere
__S: ScalarValue,
Available on crate feature
time only.impl<__S> IsOutputType<__S> for Urlwhere
__S: ScalarValue,
Available on crate feature
url only.impl<__S> IsOutputType<__S> for Uuidwhere
__S: ScalarValue,
Available on crate feature
uuid only.Implementors§
impl<S> IsOutputType<S> for Argument<S>where
S: ScalarValue + ScalarValue,
impl<S> IsOutputType<S> for Field<S>where
S: ScalarValue + ScalarValue,
impl<S> IsOutputType<S> for SchemaType<S>where
S: ScalarValue + ScalarValue,
impl<__S> IsOutputType<__S> for TypeKindwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for Episodewhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.impl<__S> IsOutputType<__S> for juniper::integrations::jiff::TimeZonewhere
__S: ScalarValue,
Available on crate feature
jiff only.impl<__S> IsOutputType<__S> for EnumValuewhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for ArcStrwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for IDwhere
__S: ScalarValue,
impl<__S> IsOutputType<__S> for Droidwhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.impl<__S> IsOutputType<__S> for Humanwhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.impl<__S> IsOutputType<__S> for Querywhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.impl<__S> IsOutputType<__S> for Subscriptionwhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.impl<__S> IsOutputType<__S> for CharacterValuewhere
__S: ScalarValue,
Available on crate feature
expose-test-schema only.