pub struct SchemaDirectives {
pub name: Option<String>,
pub description: Option<String>,
pub locations: Option<Vec<Option<__DirectiveLocation>>>,
pub args: Option<Vec<Option<SchemaDirectivesArgs>>>,
}
Fields§
§name: Option<String>
§description: Option<String>
§locations: Option<Vec<Option<__DirectiveLocation>>>
§args: Option<Vec<Option<SchemaDirectivesArgs>>>
Trait Implementations§
Source§impl Clone for SchemaDirectives
impl Clone for SchemaDirectives
Source§fn clone(&self) -> SchemaDirectives
fn clone(&self) -> SchemaDirectives
Returns a copy 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 SchemaDirectives
impl Debug for SchemaDirectives
Source§impl<'de> Deserialize<'de> for SchemaDirectives
impl<'de> Deserialize<'de> for SchemaDirectives
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SchemaDirectives
impl RefUnwindSafe for SchemaDirectives
impl Send for SchemaDirectives
impl Sync for SchemaDirectives
impl Unpin for SchemaDirectives
impl UnwindSafe for SchemaDirectives
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