pub struct DetectorResult {
pub name: String,
pub tier: String,
pub latency_ms: Option<i64>,
pub context: HashMap<String, Value>,
pub status: String,
pub error: Option<String>,
}Expand description
Per-detector result included in every ShieldResponse.
Fields§
§name: String§tier: String§latency_ms: Option<i64>§context: HashMap<String, Value>§status: String§error: Option<String>Trait Implementations§
Source§impl Clone for DetectorResult
impl Clone for DetectorResult
Source§fn clone(&self) -> DetectorResult
fn clone(&self) -> DetectorResult
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 DetectorResult
impl Debug for DetectorResult
Source§impl<'de> Deserialize<'de> for DetectorResult
impl<'de> Deserialize<'de> for DetectorResult
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 DetectorResult
impl RefUnwindSafe for DetectorResult
impl Send for DetectorResult
impl Sync for DetectorResult
impl Unpin for DetectorResult
impl UnsafeUnpin for DetectorResult
impl UnwindSafe for DetectorResult
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