pub struct RequestParamEntry {
pub request_type: &'static str,
pub params: &'static [ParamMeta],
}Expand description
Optional query/path/body metadata for a request type, collected via
#[derive(WebxRequestMeta)] on the request struct.
Fields§
§request_type: &'static str§params: &'static [ParamMeta]Trait Implementations§
Source§impl Clone for RequestParamEntry
impl Clone for RequestParamEntry
Source§fn clone(&self) -> RequestParamEntry
fn clone(&self) -> RequestParamEntry
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 moreimpl Collect for RequestParamEntry
Auto Trait Implementations§
impl Freeze for RequestParamEntry
impl RefUnwindSafe for RequestParamEntry
impl Send for RequestParamEntry
impl Sync for RequestParamEntry
impl Unpin for RequestParamEntry
impl UnsafeUnpin for RequestParamEntry
impl UnwindSafe for RequestParamEntry
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