#[non_exhaustive]pub enum ArgumentPrintMode {
Full,
Keys,
Truncated,
Hidden,
}Expand description
Controls how task arguments are displayed in logs and monitoring.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Full
Show complete argument values.
Keys
Show only argument names (keys).
Truncated
Show truncated argument values (up to truncate_arguments_length).
Hidden
Hide all argument values.
Trait Implementations§
Source§impl Clone for ArgumentPrintMode
impl Clone for ArgumentPrintMode
Source§fn clone(&self) -> ArgumentPrintMode
fn clone(&self) -> ArgumentPrintMode
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 ArgumentPrintMode
impl Debug for ArgumentPrintMode
Source§impl Default for ArgumentPrintMode
impl Default for ArgumentPrintMode
Source§fn default() -> ArgumentPrintMode
fn default() -> ArgumentPrintMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArgumentPrintMode
impl<'de> Deserialize<'de> for ArgumentPrintMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArgumentPrintMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ArgumentPrintMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromStr for ArgumentPrintMode
impl FromStr for ArgumentPrintMode
Source§type Err = ConfigParseError
type Err = ConfigParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<ArgumentPrintMode, <ArgumentPrintMode as FromStr>::Err>
fn from_str( s: &str, ) -> Result<ArgumentPrintMode, <ArgumentPrintMode as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for ArgumentPrintMode
impl PartialEq for ArgumentPrintMode
Source§impl Serialize for ArgumentPrintMode
impl Serialize for ArgumentPrintMode
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for ArgumentPrintMode
impl Eq for ArgumentPrintMode
impl StructuralPartialEq for ArgumentPrintMode
Auto Trait Implementations§
impl Freeze for ArgumentPrintMode
impl RefUnwindSafe for ArgumentPrintMode
impl Send for ArgumentPrintMode
impl Sync for ArgumentPrintMode
impl Unpin for ArgumentPrintMode
impl UnsafeUnpin for ArgumentPrintMode
impl UnwindSafe for ArgumentPrintMode
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> 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.