pub struct ParamConfig {
pub name: String,
pub ty: ParamType,
pub description: String,
pub required: bool,
pub options: Vec<String>,
}Expand description
One parameter to extract.
Fields§
§name: String§ty: ParamType§description: String§required: bool§options: Vec<String>Trait Implementations§
Source§impl Clone for ParamConfig
impl Clone for ParamConfig
Source§impl Debug for ParamConfig
impl Debug for ParamConfig
Source§impl<'de> Deserialize<'de> for ParamConfig
impl<'de> Deserialize<'de> for ParamConfig
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 Forget for ParamConfig
impl Freeze for ParamConfig
impl Move for ParamConfig
impl RefUnwindSafe for ParamConfig
impl Send for ParamConfig
impl Sync for ParamConfig
impl Unpin for ParamConfig
impl UnsafeUnpin for ParamConfig
impl UnwindSafe for ParamConfig
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