pub struct ProtographSchema {
pub types: HashMap<String, EntityType>,
pub input_types: HashMap<String, InputType>,
pub enums: HashMap<String, EnumType>,
pub query_fields: Vec<QueryField>,
pub mutation_fields: Vec<MutationField>,
}Fields§
§types: HashMap<String, EntityType>§input_types: HashMap<String, InputType>§enums: HashMap<String, EnumType>§query_fields: Vec<QueryField>§mutation_fields: Vec<MutationField>Trait Implementations§
Source§impl Clone for ProtographSchema
impl Clone for ProtographSchema
Source§fn clone(&self) -> ProtographSchema
fn clone(&self) -> ProtographSchema
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 ProtographSchema
impl Debug for ProtographSchema
Source§impl Default for ProtographSchema
impl Default for ProtographSchema
Source§fn default() -> ProtographSchema
fn default() -> ProtographSchema
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtographSchema
impl RefUnwindSafe for ProtographSchema
impl Send for ProtographSchema
impl Sync for ProtographSchema
impl Unpin for ProtographSchema
impl UnwindSafe for ProtographSchema
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