pub struct SqlmapOptionsBuilder { /* private fields */ }Expand description
Builder for constructing SqlmapOptions with a fluent API.
Every field has a corresponding setter method. Call .build()
to finalize.
Implementations§
Source§impl SqlmapOptionsBuilder
impl SqlmapOptionsBuilder
Sourcepub fn test_parameter(self, value: impl Into<String>) -> Self
pub fn test_parameter(self, value: impl Into<String>) -> Self
Sets the $name option.
Sourcepub fn not_string(self, value: impl Into<String>) -> Self
pub fn not_string(self, value: impl Into<String>) -> Self
Sets the $name option.
Sets the $name option.
Sourcepub fn random_agent(self, value: bool) -> Self
pub fn random_agent(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn skip_static(self, value: bool) -> Self
pub fn skip_static(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn get_tables(self, value: bool) -> Self
pub fn get_tables(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn get_columns(self, value: bool) -> Self
pub fn get_columns(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn get_passwords(self, value: bool) -> Self
pub fn get_passwords(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn get_privileges(self, value: bool) -> Self
pub fn get_privileges(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn current_user(self, value: bool) -> Self
pub fn current_user(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn current_db(self, value: bool) -> Self
pub fn current_db(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn dump_table(self, value: bool) -> Self
pub fn dump_table(self, value: bool) -> Self
Sets the $name option.
Sourcepub fn file_write(self, value: impl Into<String>) -> Self
pub fn file_write(self, value: impl Into<String>) -> Self
Sets the $name option.
Sourcepub fn crawl_depth(self, value: i32) -> Self
pub fn crawl_depth(self, value: i32) -> Self
Sets the $name option.
Sourcepub fn second_url(self, value: impl Into<String>) -> Self
pub fn second_url(self, value: impl Into<String>) -> Self
Sets the $name option.
Sourcepub fn build(self) -> SqlmapOptions
pub fn build(self) -> SqlmapOptions
Finalize and return the configured SqlmapOptions.
Trait Implementations§
Source§impl Clone for SqlmapOptionsBuilder
impl Clone for SqlmapOptionsBuilder
Source§fn clone(&self) -> SqlmapOptionsBuilder
fn clone(&self) -> SqlmapOptionsBuilder
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 SqlmapOptionsBuilder
impl Debug for SqlmapOptionsBuilder
Source§impl Default for SqlmapOptionsBuilder
impl Default for SqlmapOptionsBuilder
Source§fn default() -> SqlmapOptionsBuilder
fn default() -> SqlmapOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SqlmapOptionsBuilder
impl RefUnwindSafe for SqlmapOptionsBuilder
impl Send for SqlmapOptionsBuilder
impl Sync for SqlmapOptionsBuilder
impl Unpin for SqlmapOptionsBuilder
impl UnsafeUnpin for SqlmapOptionsBuilder
impl UnwindSafe for SqlmapOptionsBuilder
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