pub struct PowerShellUnaryOp {
pub operator: PowerShellUnaryOperator,
pub operand: Box<PowerShellExpression>,
}Expand description
PowerShell 一元操作
Fields§
§operator: PowerShellUnaryOperator§operand: Box<PowerShellExpression>Trait Implementations§
Source§impl Clone for PowerShellUnaryOp
impl Clone for PowerShellUnaryOp
Source§fn clone(&self) -> PowerShellUnaryOp
fn clone(&self) -> PowerShellUnaryOp
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 PowerShellUnaryOp
impl Debug for PowerShellUnaryOp
Source§impl<'de> Deserialize<'de> for PowerShellUnaryOp
impl<'de> Deserialize<'de> for PowerShellUnaryOp
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 PowerShellUnaryOp
impl PartialEq for PowerShellUnaryOp
Source§impl Serialize for PowerShellUnaryOp
impl Serialize for PowerShellUnaryOp
impl StructuralPartialEq for PowerShellUnaryOp
Auto Trait Implementations§
impl Freeze for PowerShellUnaryOp
impl RefUnwindSafe for PowerShellUnaryOp
impl Send for PowerShellUnaryOp
impl Sync for PowerShellUnaryOp
impl Unpin for PowerShellUnaryOp
impl UnwindSafe for PowerShellUnaryOp
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