pub struct PowerShellConstructor {
pub parameters: Vec<PowerShellParameter>,
pub body: PowerShellScriptBlock,
}Expand description
PowerShell 构造函数
Fields§
§parameters: Vec<PowerShellParameter>§body: PowerShellScriptBlockTrait Implementations§
Source§impl Clone for PowerShellConstructor
impl Clone for PowerShellConstructor
Source§fn clone(&self) -> PowerShellConstructor
fn clone(&self) -> PowerShellConstructor
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 PowerShellConstructor
impl Debug for PowerShellConstructor
Source§impl<'de> Deserialize<'de> for PowerShellConstructor
impl<'de> Deserialize<'de> for PowerShellConstructor
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 PowerShellConstructor
impl PartialEq for PowerShellConstructor
Source§impl Serialize for PowerShellConstructor
impl Serialize for PowerShellConstructor
impl StructuralPartialEq for PowerShellConstructor
Auto Trait Implementations§
impl Freeze for PowerShellConstructor
impl RefUnwindSafe for PowerShellConstructor
impl Send for PowerShellConstructor
impl Sync for PowerShellConstructor
impl Unpin for PowerShellConstructor
impl UnwindSafe for PowerShellConstructor
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