pub struct Directive {
pub name: String,
pub arguments: Vec<Arg>,
}Expand description
Represent a directive invocation. This combines a directive name (or abbreviation) with
the list of actual arguments provided. See [Self.execute()] to actually perform this
directive’s action.
Fields§
§name: StringThe directive name.
arguments: Vec<Arg>The directive arguments.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Directive
Auto Trait Implementations§
impl Freeze for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnsafeUnpin for Directive
impl UnwindSafe for Directive
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