pub struct PowerShellSecurityResult {
pub behavior: SecurityBehavior,
pub message: Option<String>,
}Expand description
PowerShell security result
Fields§
§behavior: SecurityBehavior§message: Option<String>Implementations§
Source§impl PowerShellSecurityResult
impl PowerShellSecurityResult
pub fn passthrough() -> Self
pub fn ask(message: &str) -> Self
Trait Implementations§
Source§impl Clone for PowerShellSecurityResult
impl Clone for PowerShellSecurityResult
Source§fn clone(&self) -> PowerShellSecurityResult
fn clone(&self) -> PowerShellSecurityResult
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 moreAuto Trait Implementations§
impl Freeze for PowerShellSecurityResult
impl RefUnwindSafe for PowerShellSecurityResult
impl Send for PowerShellSecurityResult
impl Sync for PowerShellSecurityResult
impl Unpin for PowerShellSecurityResult
impl UnsafeUnpin for PowerShellSecurityResult
impl UnwindSafe for PowerShellSecurityResult
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