pub struct SecurityCheckResponse {
pub url: String,
pub blocked: bool,
pub threat_level: Option<String>,
pub threat_score: Option<f64>,
pub categories: Option<Vec<String>>,
pub first_seen: Option<String>,
pub last_seen: Option<String>,
pub report_count: Option<i32>,
pub status: Option<String>,
pub message: Option<String>,
}Expand description
Response from checking a URL against the registry.
Fields§
§url: StringURL that was checked.
blocked: boolWhether the URL is blocked.
threat_level: Option<String>Threat level (if blocked).
threat_score: Option<f64>Threat score (if blocked).
categories: Option<Vec<String>>Detection categories (if blocked).
first_seen: Option<String>First seen timestamp.
last_seen: Option<String>Last seen timestamp.
report_count: Option<i32>Number of reports.
status: Option<String>Registry status: “confirmed”, “suspected”.
message: Option<String>Human-readable message.
Trait Implementations§
Source§impl Clone for SecurityCheckResponse
impl Clone for SecurityCheckResponse
Source§fn clone(&self) -> SecurityCheckResponse
fn clone(&self) -> SecurityCheckResponse
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 SecurityCheckResponse
impl Debug for SecurityCheckResponse
Source§impl<'de> Deserialize<'de> for SecurityCheckResponse
impl<'de> Deserialize<'de> for SecurityCheckResponse
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 SecurityCheckResponse
impl RefUnwindSafe for SecurityCheckResponse
impl Send for SecurityCheckResponse
impl Sync for SecurityCheckResponse
impl Unpin for SecurityCheckResponse
impl UnsafeUnpin for SecurityCheckResponse
impl UnwindSafe for SecurityCheckResponse
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