pub enum PowerShellItem {
Statement(PowerShellStatement),
Function(PowerShellFunction),
Class(PowerShellClass),
Workflow(PowerShellWorkflow),
}Expand description
PowerShell 顶级项目
Variants§
Statement(PowerShellStatement)
Function(PowerShellFunction)
Class(PowerShellClass)
Workflow(PowerShellWorkflow)
Trait Implementations§
Source§impl Clone for PowerShellItem
impl Clone for PowerShellItem
Source§fn clone(&self) -> PowerShellItem
fn clone(&self) -> PowerShellItem
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 PowerShellItem
impl Debug for PowerShellItem
Source§impl<'de> Deserialize<'de> for PowerShellItem
impl<'de> Deserialize<'de> for PowerShellItem
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 PowerShellItem
impl PartialEq for PowerShellItem
Source§impl Serialize for PowerShellItem
impl Serialize for PowerShellItem
impl StructuralPartialEq for PowerShellItem
Auto Trait Implementations§
impl Freeze for PowerShellItem
impl RefUnwindSafe for PowerShellItem
impl Send for PowerShellItem
impl Sync for PowerShellItem
impl Unpin for PowerShellItem
impl UnwindSafe for PowerShellItem
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