pub struct DirectiveApplication {
pub name: String,
pub args: Vec<DirectiveApplicationArg>,
}Expand description
A directive applied to a schema element (field, argument, etc.).
Fields§
§name: String§args: Vec<DirectiveApplicationArg>Trait Implementations§
Source§impl Clone for DirectiveApplication
impl Clone for DirectiveApplication
Source§fn clone(&self) -> DirectiveApplication
fn clone(&self) -> DirectiveApplication
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DirectiveApplication
impl Debug for DirectiveApplication
Source§impl<'de> Deserialize<'de> for DirectiveApplication
impl<'de> Deserialize<'de> for DirectiveApplication
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 DirectiveApplication
impl RefUnwindSafe for DirectiveApplication
impl Send for DirectiveApplication
impl Sync for DirectiveApplication
impl Unpin for DirectiveApplication
impl UnsafeUnpin for DirectiveApplication
impl UnwindSafe for DirectiveApplication
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