pub enum PowerShellBinaryOperator {
Show 25 variants
Add,
Subtract,
Multiply,
Divide,
Modulo,
Equal,
NotEqual,
Less,
LessEqual,
Greater,
GreaterEqual,
Like,
NotLike,
Match,
NotMatch,
Contains,
NotContains,
In,
NotIn,
And,
Or,
Xor,
BitwiseAnd,
BitwiseOr,
BitwiseXor,
}Expand description
A binary operator in PowerShell.
Variants§
Add
Addition +.
Subtract
Subtraction -.
Multiply
Multiplication *.
Divide
Division /.
Modulo
Modulo %.
Equal
Equality -eq.
NotEqual
Inequality -ne.
Less
Less than -lt.
LessEqual
Less than or equal -le.
Greater
Greater than -gt.
GreaterEqual
Greater than or equal -ge.
Like
Pattern match -like.
NotLike
Pattern non-match -notlike.
Match
Regex match -match.
NotMatch
Regex non-match -notmatch.
Contains
Collection contains -contains.
NotContains
Collection does not contain -notcontains.
In
Item in collection -in.
NotIn
Item not in collection -notin.
And
Logical AND -and.
Or
Logical OR -or.
Xor
Logical XOR -xor.
BitwiseAnd
Bitwise AND -band.
BitwiseOr
Bitwise OR -bor.
BitwiseXor
Bitwise XOR -bxor.
Trait Implementations§
Source§impl Clone for PowerShellBinaryOperator
impl Clone for PowerShellBinaryOperator
Source§fn clone(&self) -> PowerShellBinaryOperator
fn clone(&self) -> PowerShellBinaryOperator
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 PowerShellBinaryOperator
impl Debug for PowerShellBinaryOperator
Source§impl<'de> Deserialize<'de> for PowerShellBinaryOperator
impl<'de> Deserialize<'de> for PowerShellBinaryOperator
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 PowerShellBinaryOperator
impl PartialEq for PowerShellBinaryOperator
Source§impl Serialize for PowerShellBinaryOperator
impl Serialize for PowerShellBinaryOperator
impl StructuralPartialEq for PowerShellBinaryOperator
Auto Trait Implementations§
impl Freeze for PowerShellBinaryOperator
impl RefUnwindSafe for PowerShellBinaryOperator
impl Send for PowerShellBinaryOperator
impl Sync for PowerShellBinaryOperator
impl Unpin for PowerShellBinaryOperator
impl UnsafeUnpin for PowerShellBinaryOperator
impl UnwindSafe for PowerShellBinaryOperator
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