pub struct DataResponse {
pub success: bool,
pub data: Option<Vec<SqlmapDataChunk>>,
pub error: Option<Vec<String>>,
}Expand description
Final payload block returning all gathered data for a task.
Fields§
§success: boolTrue if fetch succeeded
data: Option<Vec<SqlmapDataChunk>>The aggregated data chunks representing SQL injected results
error: Option<Vec<String>>Unused array of structured errors
Implementations§
Source§impl DataResponse
impl DataResponse
Sourcepub fn findings(&self) -> Vec<SqlmapFinding>
pub fn findings(&self) -> Vec<SqlmapFinding>
Extract structured findings from the raw data chunks.
Type 1 chunks contain vulnerability data. This parses them into
SqlmapFinding structs with parameter, type, payload, and details.
Trait Implementations§
Source§impl Clone for DataResponse
impl Clone for DataResponse
Source§fn clone(&self) -> DataResponse
fn clone(&self) -> DataResponse
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 DataResponse
impl Debug for DataResponse
Source§impl<'de> Deserialize<'de> for DataResponse
impl<'de> Deserialize<'de> for DataResponse
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 DataResponse
impl RefUnwindSafe for DataResponse
impl Send for DataResponse
impl Sync for DataResponse
impl Unpin for DataResponse
impl UnsafeUnpin for DataResponse
impl UnwindSafe for DataResponse
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