Docs.rs
cynic-3.7.3
cynic 3.7.3
Permalink
Docs.rs crate page
MPL-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
obmarg
Dependencies
cynic-proc-macros ^3.7.3
normal
ref-cast ^1.0.15
normal
reqwest ^0.12
normal
optional
serde ^1.0.136
normal
serde_json ^1.0
normal
optional
static_assertions ^1
normal
surf ^2.3
normal
optional
thiserror ^1.0.30
normal
assert_matches ^1.4
dev
chrono ^0.4.19
dev
graphql-parser ^0.4
dev
insta ^1.17
dev
maplit ^1.0.2
dev
mockito ^1.4.0
dev
rstest ^0.21
dev
serde_json ^1.0
dev
tokio ^1
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cynic
3.7.3
NamedType
Required Associated Constants
NAME
Implementations on Foreign Types
String
bool
f64
i32
Object Safety
Implementors
In cynic::schema
Trait
cynic
::
schema
::
NamedType
Copy item path
source
·
[
−
]
pub trait NamedType { const
NAME
: &'static
str
; }
Expand description
A marker type with a name.
Required Associated Constants
§
source
const
NAME
: &'static
str
The name of this type
Object Safety
§
This trait is
not
object safe
.
Implementations on Foreign Types
§
source
§
impl
NamedType
for
bool
source
§
const
NAME
: &'static
str
= "Boolean"
source
§
impl
NamedType
for
f64
source
§
const
NAME
: &'static
str
= "Float"
source
§
impl
NamedType
for
i32
source
§
const
NAME
: &'static
str
= "Int"
source
§
impl
NamedType
for
String
source
§
const
NAME
: &'static
str
= "String"
Implementors
§
source
§
impl
NamedType
for
Id
source
§
const
NAME
: &'static
str
= "ID"