pub struct DirectiveValue {
pub value: String,
pub span: Option<Span>,
}Expand description
A directive value plus its source provenance.
Fields§
§value: String§span: Option<Span>Trait Implementations§
Source§impl Clone for DirectiveValue
impl Clone for DirectiveValue
Source§fn clone(&self) -> DirectiveValue
fn clone(&self) -> DirectiveValue
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 DirectiveValue
impl Debug for DirectiveValue
Source§impl<'de> Deserialize<'de> for DirectiveValue
impl<'de> Deserialize<'de> for DirectiveValue
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
Source§impl PartialEq for DirectiveValue
impl PartialEq for DirectiveValue
Source§impl Serialize for DirectiveValue
impl Serialize for DirectiveValue
impl StructuralPartialEq for DirectiveValue
Auto Trait Implementations§
impl Freeze for DirectiveValue
impl RefUnwindSafe for DirectiveValue
impl Send for DirectiveValue
impl Sync for DirectiveValue
impl Unpin for DirectiveValue
impl UnsafeUnpin for DirectiveValue
impl UnwindSafe for DirectiveValue
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