#[non_exhaustive]pub enum ParameterMode {
Default,
Hidden,
Masked,
}Expand description
Parameter display mode in reports.
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.
Default
Show parameter value as-is
Hidden
Hide parameter value completely
Masked
Mask parameter value (e.g., for passwords)
Trait Implementations§
Source§impl Clone for ParameterMode
impl Clone for ParameterMode
Source§fn clone(&self) -> ParameterMode
fn clone(&self) -> ParameterMode
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterMode
impl Debug for ParameterMode
Source§impl Default for ParameterMode
impl Default for ParameterMode
Source§fn default() -> ParameterMode
fn default() -> ParameterMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParameterMode
impl<'de> Deserialize<'de> for ParameterMode
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParameterMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ParameterMode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ParameterMode
impl Display for ParameterMode
Source§impl Hash for ParameterMode
impl Hash for ParameterMode
Source§impl PartialEq for ParameterMode
impl PartialEq for ParameterMode
Source§impl Serialize for ParameterMode
impl Serialize for ParameterMode
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 ParameterMode
impl Eq for ParameterMode
impl StructuralPartialEq for ParameterMode
Auto Trait Implementations§
impl Freeze for ParameterMode
impl RefUnwindSafe for ParameterMode
impl Send for ParameterMode
impl Sync for ParameterMode
impl Unpin for ParameterMode
impl UnwindSafe for ParameterMode
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)