pub struct ParamMeta {
pub source_name: &'static str,
pub wire_name: &'static str,
pub ty: TypeRefStatic,
pub required: bool,
pub default: Option<StaticValue>,
}Expand description
Static parameter metadata used by EndpointMeta.
Fields§
§source_name: &'static strSource-language parameter name.
wire_name: &'static strWire-format parameter name.
ty: TypeRefStaticStatic type metadata for this parameter.
required: boolWhether this parameter is required.
default: Option<StaticValue>Optional static JSON default value.
Trait Implementations§
impl StructuralPartialEq for ParamMeta
Auto Trait Implementations§
impl Freeze for ParamMeta
impl RefUnwindSafe for ParamMeta
impl Send for ParamMeta
impl Sync for ParamMeta
impl Unpin for ParamMeta
impl UnsafeUnpin for ParamMeta
impl UnwindSafe for ParamMeta
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