pub struct ParsedPowerShellCommand {
pub valid: bool,
pub statements: Vec<ParsedStatement>,
pub error: Option<String>,
}Expand description
Complete parsed PowerShell command
Fields§
§valid: bool§statements: Vec<ParsedStatement>§error: Option<String>Trait Implementations§
Source§impl Clone for ParsedPowerShellCommand
impl Clone for ParsedPowerShellCommand
Source§fn clone(&self) -> ParsedPowerShellCommand
fn clone(&self) -> ParsedPowerShellCommand
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 ParsedPowerShellCommand
impl Debug for ParsedPowerShellCommand
Source§impl<'de> Deserialize<'de> for ParsedPowerShellCommand
impl<'de> Deserialize<'de> for ParsedPowerShellCommand
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 ParsedPowerShellCommand
impl PartialEq for ParsedPowerShellCommand
Source§impl Serialize for ParsedPowerShellCommand
impl Serialize for ParsedPowerShellCommand
impl StructuralPartialEq for ParsedPowerShellCommand
Auto Trait Implementations§
impl Freeze for ParsedPowerShellCommand
impl RefUnwindSafe for ParsedPowerShellCommand
impl Send for ParsedPowerShellCommand
impl Sync for ParsedPowerShellCommand
impl Unpin for ParsedPowerShellCommand
impl UnsafeUnpin for ParsedPowerShellCommand
impl UnwindSafe for ParsedPowerShellCommand
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