pub struct PowerShellAssignment {
pub target: Box<PowerShellExpression>,
pub operator: PowerShellAssignmentOperator,
pub value: Box<PowerShellExpression>,
}Expand description
An assignment operation in PowerShell.
Fields§
§target: Box<PowerShellExpression>Target of the assignment.
operator: PowerShellAssignmentOperatorAssignment operator.
value: Box<PowerShellExpression>Value being assigned.
Trait Implementations§
Source§impl Clone for PowerShellAssignment
impl Clone for PowerShellAssignment
Source§fn clone(&self) -> PowerShellAssignment
fn clone(&self) -> PowerShellAssignment
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 PowerShellAssignment
impl Debug for PowerShellAssignment
Source§impl<'de> Deserialize<'de> for PowerShellAssignment
impl<'de> Deserialize<'de> for PowerShellAssignment
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 PowerShellAssignment
impl PartialEq for PowerShellAssignment
Source§impl Serialize for PowerShellAssignment
impl Serialize for PowerShellAssignment
impl StructuralPartialEq for PowerShellAssignment
Auto Trait Implementations§
impl Freeze for PowerShellAssignment
impl RefUnwindSafe for PowerShellAssignment
impl Send for PowerShellAssignment
impl Sync for PowerShellAssignment
impl Unpin for PowerShellAssignment
impl UnsafeUnpin for PowerShellAssignment
impl UnwindSafe for PowerShellAssignment
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