pub struct ParsedStatement {
pub statement_type: StatementType,
pub commands: Vec<ParsedCommandElement>,
}Expand description
A statement in the PowerShell command
Fields§
§statement_type: StatementType§commands: Vec<ParsedCommandElement>Trait Implementations§
Source§impl Clone for ParsedStatement
impl Clone for ParsedStatement
Source§fn clone(&self) -> ParsedStatement
fn clone(&self) -> ParsedStatement
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 ParsedStatement
impl Debug for ParsedStatement
Source§impl<'de> Deserialize<'de> for ParsedStatement
impl<'de> Deserialize<'de> for ParsedStatement
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 ParsedStatement
impl PartialEq for ParsedStatement
Source§impl Serialize for ParsedStatement
impl Serialize for ParsedStatement
impl StructuralPartialEq for ParsedStatement
Auto Trait Implementations§
impl Freeze for ParsedStatement
impl RefUnwindSafe for ParsedStatement
impl Send for ParsedStatement
impl Sync for ParsedStatement
impl Unpin for ParsedStatement
impl UnsafeUnpin for ParsedStatement
impl UnwindSafe for ParsedStatement
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