Skip to main content

Crate simple_syrup

Crate simple_syrup 

Source

Re-exports§

pub use anyhow;
pub use self;
pub use chrono;
pub use self;
pub use serde_json;
pub use self;
pub use tokio;
pub use self;

Structs§

EmptyMutation
Empty mutation
EmptySubscription
Empty subscription
Schema
GraphQL schema.
SchemaBuilder
Schema builder
SimpleGraphql
SimpleGraphql
SimpleSqlite
SimpleSqlite
SpaConfig
Uuid
A Universally Unique Identifier (UUID).

Traits§

Deserialize
A data structure that can be deserialized from any data format supported by Serde.
Serialize
A data structure that can be serialized into any data format supported by Serde.

Type Aliases§

Context
Context object for resolve field
Result
An alias for Result<T, Error>.
SqlitePool
An alias for Pool, specialized for SQLite.

Attribute Macros§

Object
Define a GraphQL object with methods
Scalar
Define a Scalar

Derive Macros§

Deserialize
Derive macro available if serde is built with features = ["derive"].
Enum
Define a GraphQL enum
InputObject
Define a GraphQL input object
Interface
Define a GraphQL interface
Serialize
Derive macro available if serde is built with features = ["derive"].
SimpleObject
Define a GraphQL object with fields
Union
Define a GraphQL union