pub struct ParamDef {
pub name: String,
pub ty: TypeRef,
pub description: Option<String>,
pub required: bool,
pub default: Option<Value>,
pub deprecation: Option<Deprecation>,
pub source: Option<Value>,
pub values: Option<Vec<String>>,
}Expand description
A parameter a client sends.
Fields§
§name: String§ty: TypeRef§description: Option<String>§required: bool§default: Option<Value>§deprecation: Option<Deprecation>§source: Option<Value>Its x-plexus-source, as written.
values: Option<Vec<String>>Its x-plexus-values; left out when absent.
Trait Implementations§
impl StructuralPartialEq for ParamDef
Auto Trait Implementations§
impl Forget for ParamDef
impl Freeze for ParamDef
impl Move for ParamDef
impl RefUnwindSafe for ParamDef
impl Send for ParamDef
impl Sync for ParamDef
impl Unpin for ParamDef
impl UnsafeUnpin for ParamDef
impl UnwindSafe for ParamDef
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