pub struct PowerShellTry {
pub block: PowerShellScriptBlock,
pub catch_blocks: Vec<PowerShellCatch>,
pub finally_block: Option<PowerShellScriptBlock>,
}Expand description
PowerShell try 语句
Fields§
§block: PowerShellScriptBlock§catch_blocks: Vec<PowerShellCatch>§finally_block: Option<PowerShellScriptBlock>Trait Implementations§
Source§impl Clone for PowerShellTry
impl Clone for PowerShellTry
Source§fn clone(&self) -> PowerShellTry
fn clone(&self) -> PowerShellTry
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 PowerShellTry
impl Debug for PowerShellTry
Source§impl<'de> Deserialize<'de> for PowerShellTry
impl<'de> Deserialize<'de> for PowerShellTry
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 PowerShellTry
impl PartialEq for PowerShellTry
Source§impl Serialize for PowerShellTry
impl Serialize for PowerShellTry
impl StructuralPartialEq for PowerShellTry
Auto Trait Implementations§
impl Freeze for PowerShellTry
impl RefUnwindSafe for PowerShellTry
impl Send for PowerShellTry
impl Sync for PowerShellTry
impl Unpin for PowerShellTry
impl UnwindSafe for PowerShellTry
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