pub struct GoogleSecuritySafebrowsingV4ThreatHitThreatSource {
pub referrer: Option<String>,
pub remote_ip: Option<String>,
pub type_: Option<String>,
pub url: Option<String>,
}
Expand description
A single resource related to a threat hit.
This type is not used in any activity, and only used as part of another schema.
Fields§
§referrer: Option<String>
Referrer of the resource. Only set if the referrer is available.
remote_ip: Option<String>
The remote IP of the resource in ASCII format. Either IPv4 or IPv6.
type_: Option<String>
The type of source reported.
url: Option<String>
The URL of the resource.
Trait Implementations§
source§impl Clone for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl Clone for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
source§fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatHitThreatSource
fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatHitThreatSource
Returns a copy 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 Default for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl Default for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
source§fn default() -> GoogleSecuritySafebrowsingV4ThreatHitThreatSource
fn default() -> GoogleSecuritySafebrowsingV4ThreatHitThreatSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
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
impl Part for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
Auto Trait Implementations§
impl RefUnwindSafe for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl Send for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl Sync for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl Unpin for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
impl UnwindSafe for GoogleSecuritySafebrowsingV4ThreatHitThreatSource
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