pub struct PowerShellParameter {
pub name: String,
pub param_type: Option<String>,
pub default_value: Option<Box<PowerShellExpression>>,
pub attributes: Vec<PowerShellAttribute>,
}Expand description
PowerShell 参数定义
Fields§
§name: String§param_type: Option<String>§default_value: Option<Box<PowerShellExpression>>§attributes: Vec<PowerShellAttribute>Trait Implementations§
Source§impl Clone for PowerShellParameter
impl Clone for PowerShellParameter
Source§fn clone(&self) -> PowerShellParameter
fn clone(&self) -> PowerShellParameter
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 PowerShellParameter
impl Debug for PowerShellParameter
Source§impl<'de> Deserialize<'de> for PowerShellParameter
impl<'de> Deserialize<'de> for PowerShellParameter
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 PowerShellParameter
impl PartialEq for PowerShellParameter
Source§impl Serialize for PowerShellParameter
impl Serialize for PowerShellParameter
impl StructuralPartialEq for PowerShellParameter
Auto Trait Implementations§
impl Freeze for PowerShellParameter
impl RefUnwindSafe for PowerShellParameter
impl Send for PowerShellParameter
impl Sync for PowerShellParameter
impl Unpin for PowerShellParameter
impl UnwindSafe for PowerShellParameter
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