pub struct PowerShellSwitchCase {
pub pattern: Box<PowerShellExpression>,
pub block: PowerShellScriptBlock,
}Expand description
PowerShell switch case
Fields§
§pattern: Box<PowerShellExpression>§block: PowerShellScriptBlockTrait Implementations§
Source§impl Clone for PowerShellSwitchCase
impl Clone for PowerShellSwitchCase
Source§fn clone(&self) -> PowerShellSwitchCase
fn clone(&self) -> PowerShellSwitchCase
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 PowerShellSwitchCase
impl Debug for PowerShellSwitchCase
Source§impl<'de> Deserialize<'de> for PowerShellSwitchCase
impl<'de> Deserialize<'de> for PowerShellSwitchCase
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 PowerShellSwitchCase
impl PartialEq for PowerShellSwitchCase
Source§impl Serialize for PowerShellSwitchCase
impl Serialize for PowerShellSwitchCase
impl StructuralPartialEq for PowerShellSwitchCase
Auto Trait Implementations§
impl Freeze for PowerShellSwitchCase
impl RefUnwindSafe for PowerShellSwitchCase
impl Send for PowerShellSwitchCase
impl Sync for PowerShellSwitchCase
impl Unpin for PowerShellSwitchCase
impl UnwindSafe for PowerShellSwitchCase
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