pub struct PluginRequest {
pub command: String,
pub args: Vec<String>,
pub projects: Vec<String>,
pub cwd: String,
pub options: PluginRequestOptions,
}Expand description
A request from the meta CLI host to a plugin, sent as JSON on stdin.
Fields§
§command: String§args: Vec<String>§projects: Vec<String>§cwd: String§options: PluginRequestOptionsTrait Implementations§
Source§impl Clone for PluginRequest
impl Clone for PluginRequest
Source§fn clone(&self) -> PluginRequest
fn clone(&self) -> PluginRequest
Returns a duplicate 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 PluginRequest
impl Debug for PluginRequest
Source§impl<'de> Deserialize<'de> for PluginRequest
impl<'de> Deserialize<'de> for PluginRequest
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 PluginRequest
impl RefUnwindSafe for PluginRequest
impl Send for PluginRequest
impl Sync for PluginRequest
impl Unpin for PluginRequest
impl UnwindSafe for PluginRequest
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