pub struct DiscoveredParam {
pub name: String,
pub location: ParamLocation,
pub source: ParamSource,
}Expand description
A parameter discovered on an endpoint (query string, POST body, or brute-forced).
Fields§
§name: StringParameter name.
location: ParamLocationWhere this parameter appears.
source: ParamSourceHow it was discovered.
Trait Implementations§
Source§impl Clone for DiscoveredParam
impl Clone for DiscoveredParam
Source§fn clone(&self) -> DiscoveredParam
fn clone(&self) -> DiscoveredParam
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 moreSource§impl Debug for DiscoveredParam
impl Debug for DiscoveredParam
Source§impl<'de> Deserialize<'de> for DiscoveredParam
impl<'de> Deserialize<'de> for DiscoveredParam
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 DiscoveredParam
impl RefUnwindSafe for DiscoveredParam
impl Send for DiscoveredParam
impl Sync for DiscoveredParam
impl Unpin for DiscoveredParam
impl UnsafeUnpin for DiscoveredParam
impl UnwindSafe for DiscoveredParam
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