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