pub enum BashSetOption {
Show 20 variants
AllExport,
BraceExpand,
ErrExit,
ErrTrace,
FuncTrace,
HashAll,
Keyword,
NoClobber,
NoExec,
NoGlob,
NoLog,
NoUnset,
OneCmd,
Physical,
Pipefail,
Posix,
Privileged,
Restricted,
Verbose,
XTrace,
}Expand description
Supported options for set.
See https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html for a description of each option.
Variants§
AllExport
BraceExpand
ErrExit
ErrTrace
FuncTrace
HashAll
Keyword
NoClobber
NoExec
NoGlob
NoLog
NoUnset
OneCmd
Physical
Pipefail
Posix
Privileged
Restricted
Verbose
XTrace
Trait Implementations§
Source§impl Clone for BashSetOption
impl Clone for BashSetOption
Source§fn clone(&self) -> BashSetOption
fn clone(&self) -> BashSetOption
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 moreimpl Copy for BashSetOption
Source§impl Debug for BashSetOption
impl Debug for BashSetOption
Source§impl<'de> Deserialize<'de> for BashSetOption
impl<'de> Deserialize<'de> for BashSetOption
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 Display for BashSetOption
impl Display for BashSetOption
impl Eq for BashSetOption
Source§impl<'de> FromToml<'de> for BashSetOption
impl<'de> FromToml<'de> for BashSetOption
Source§impl Hash for BashSetOption
impl Hash for BashSetOption
Source§impl JsonSchema for BashSetOption
impl JsonSchema for BashSetOption
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for BashSetOption
impl Ord for BashSetOption
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BashSetOption
impl PartialEq for BashSetOption
Source§impl PartialOrd for BashSetOption
impl PartialOrd for BashSetOption
Source§impl Serialize for BashSetOption
impl Serialize for BashSetOption
impl StructuralPartialEq for BashSetOption
Source§impl ToToml for BashSetOption
impl ToToml for BashSetOption
Source§fn to_optional_toml<'a>(
&'a self,
arena: &'a Arena,
) -> Result<Option<Item<'a>>, ToTomlError>
fn to_optional_toml<'a>( &'a self, arena: &'a Arena, ) -> Result<Option<Item<'a>>, ToTomlError>
Source§impl VariantArray for BashSetOption
impl VariantArray for BashSetOption
Auto Trait Implementations§
impl Freeze for BashSetOption
impl RefUnwindSafe for BashSetOption
impl Send for BashSetOption
impl Sync for BashSetOption
impl Unpin for BashSetOption
impl UnsafeUnpin for BashSetOption
impl UnwindSafe for BashSetOption
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more