pub struct GoogleSecuritySafebrowsingV4ThreatHitUserInfo {
pub region_code: Option<String>,
pub user_id: Option<Vec<u8>>,
}
Expand description
Details about the user that encountered the threat.
This type is not used in any activity, and only used as part of another schema.
Fields§
§region_code: Option<String>
The UN M.49 region code associated with the user’s location.
user_id: Option<Vec<u8>>
Unique user identifier defined by the client.
Trait Implementations§
source§impl Clone for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl Clone for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
source§fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatHitUserInfo
fn clone(&self) -> GoogleSecuritySafebrowsingV4ThreatHitUserInfo
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 GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl Default for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
source§fn default() -> GoogleSecuritySafebrowsingV4ThreatHitUserInfo
fn default() -> GoogleSecuritySafebrowsingV4ThreatHitUserInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl<'de> Deserialize<'de> for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
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 GoogleSecuritySafebrowsingV4ThreatHitUserInfo
Auto Trait Implementations§
impl RefUnwindSafe for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl Send for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl Sync for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl Unpin for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
impl UnwindSafe for GoogleSecuritySafebrowsingV4ThreatHitUserInfo
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