pub enum ParameterType {
String,
StringList,
SecureString,
}Expand description
The type of a parameter.
Variants§
String
A plain string value.
StringList
A comma-separated list of strings.
SecureString
An encrypted string value.
Implementations§
Trait Implementations§
Source§impl Clone for ParameterType
impl Clone for ParameterType
Source§fn clone(&self) -> ParameterType
fn clone(&self) -> ParameterType
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 ParameterType
impl Debug for ParameterType
Source§impl Default for ParameterType
impl Default for ParameterType
Source§fn default() -> ParameterType
fn default() -> ParameterType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParameterType
impl<'de> Deserialize<'de> for ParameterType
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 ParameterType
impl Display for ParameterType
Source§impl Hash for ParameterType
impl Hash for ParameterType
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
Source§fn eq(&self, other: &ParameterType) -> bool
fn eq(&self, other: &ParameterType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParameterType
impl Serialize for ParameterType
impl Eq for ParameterType
impl StructuralPartialEq for ParameterType
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnsafeUnpin for ParameterType
impl UnwindSafe for ParameterType
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