InspectResponse
pub struct InspectResponse { /* private fields */ }Results of asking Security to inspect a Request.
Methods
decision_ms
View sourcefn decision_ms(&self) -> DurationHow long Security spent determining its verdict.
Parameters
- self: &Self
Returns
into_redirect
View sourceConvert a redirect URI returned by Security into a Response.
Parameters
- self: Self
Returns
is_redirect
View sourcefn is_redirect(&self) -> boolA redirect URI returned by Security.
Parameters
- self: &Self
Returns
bool
redirect_url
View sourceA redirect URL returned from Security.
Parameters
- self: &Self
Returns
Option<&str>
verdict
View sourcefn verdict(&self) -> &InspectVerdictGet Security's verdict on how to handle this request.
Parameters
- self: &Self
Returns
Trait implementations
impl Debug for InspectResponse
impl Deserialize for InspectResponse
deserialize
View sourcewhere __D: Deserializer<'de>,Parameters
- __deserializer: __D
Returns
_serde::__private228::Result<Self, __D::Error>