pub enum ParameterType {
Boolean {
default: Option<bool>,
},
String {
default: Option<String>,
values: Option<Vec<String>>,
},
Number {
default: Option<i64>,
values: Option<Vec<i64>>,
},
Object {
default: Option<Value>,
},
}
Variants§
Trait Implementations§
Source§impl Debug for ParameterType
impl Debug for ParameterType
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
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin 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