#[non_exhaustive]pub struct BarewordExpr {
pub name: String,
}Expand description
Bareword expression shell payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringBareword text as parsed.
Trait Implementations§
Source§impl Clone for BarewordExpr
impl Clone for BarewordExpr
Source§fn clone(&self) -> BarewordExpr
fn clone(&self) -> BarewordExpr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BarewordExpr
impl Debug for BarewordExpr
impl Eq for BarewordExpr
Source§impl PartialEq for BarewordExpr
impl PartialEq for BarewordExpr
Source§fn eq(&self, other: &BarewordExpr) -> bool
fn eq(&self, other: &BarewordExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BarewordExpr
Auto Trait Implementations§
impl Freeze for BarewordExpr
impl RefUnwindSafe for BarewordExpr
impl Send for BarewordExpr
impl Sync for BarewordExpr
impl Unpin for BarewordExpr
impl UnsafeUnpin for BarewordExpr
impl UnwindSafe for BarewordExpr
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