pub struct CommandScope {
pub command: String,
pub line: String,
pub plugin: String,
pub read_only: bool,
pub writes: Vec<String>,
}Expand description
What the sub-calls of one plugin command’s run are held to: they are that
command’s, a read-only run writes nothing, and the files a write run may
change are writes, globs relative to the project root.
Fields§
§command: String§line: StringThe command line as run, for a question about one of its sub-calls.
plugin: String§read_only: bool§writes: Vec<String>Trait Implementations§
Source§impl Clone for CommandScope
impl Clone for CommandScope
Source§impl Debug for CommandScope
impl Debug for CommandScope
impl Eq for CommandScope
Source§impl PartialEq for CommandScope
impl PartialEq for CommandScope
impl StructuralPartialEq for CommandScope
Auto Trait Implementations§
impl Forget for CommandScope
impl Freeze for CommandScope
impl Move for CommandScope
impl RefUnwindSafe for CommandScope
impl Send for CommandScope
impl Sync for CommandScope
impl Unpin for CommandScope
impl UnsafeUnpin for CommandScope
impl UnwindSafe for CommandScope
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