#[non_exhaustive]pub struct VulnerableParameters {
pub parameter_names: Vec<String>,
/* private fields */
}Expand description
Information about vulnerable request parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parameter_names: Vec<String>The vulnerable parameter names.
Implementations§
Source§impl VulnerableParameters
impl VulnerableParameters
pub fn new() -> Self
Sourcepub fn set_parameter_names<T, V>(self, v: T) -> Self
pub fn set_parameter_names<T, V>(self, v: T) -> Self
Sets the value of parameter_names.
§Example
ⓘ
let x = VulnerableParameters::new().set_parameter_names(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for VulnerableParameters
impl Clone for VulnerableParameters
Source§fn clone(&self) -> VulnerableParameters
fn clone(&self) -> VulnerableParameters
Returns a duplicate of the value. Read more
1.0.0 · 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 VulnerableParameters
impl Debug for VulnerableParameters
Source§impl Default for VulnerableParameters
impl Default for VulnerableParameters
Source§fn default() -> VulnerableParameters
fn default() -> VulnerableParameters
Returns the “default value” for a type. Read more
Source§impl Message for VulnerableParameters
impl Message for VulnerableParameters
Source§impl PartialEq for VulnerableParameters
impl PartialEq for VulnerableParameters
impl StructuralPartialEq for VulnerableParameters
Auto Trait Implementations§
impl Freeze for VulnerableParameters
impl RefUnwindSafe for VulnerableParameters
impl Send for VulnerableParameters
impl Sync for VulnerableParameters
impl Unpin for VulnerableParameters
impl UnwindSafe for VulnerableParameters
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