#[non_exhaustive]pub struct Reputation {
pub base_score: Option<f64>,
pub provider: Option<String>,
pub score: Option<String>,
pub score_id: Option<i64>,
}Expand description
Reputation
The Reputation object describes the reputation/risk score of an entity (e.g. device, user, domain).
[] Category: | Name: reputation
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.base_score: Option<f64>Reputation Score
The reputation score as reported by the event source.
required
provider: Option<String>Provider
The provider of the reputation information.
recommended
score: Option<String>Reputation Score
The reputation score, normalized to the caption of the score_id value. In the case of ‘Other’, it is defined by the event source.
optional
score_id: Option<i64>Reputation Score ID
The normalized reputation score identifier.
required
Trait Implementations§
Source§impl Clone for Reputation
impl Clone for Reputation
Source§fn clone(&self) -> Reputation
fn clone(&self) -> Reputation
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 Reputation
impl Debug for Reputation
Source§impl Default for Reputation
impl Default for Reputation
Source§fn default() -> Reputation
fn default() -> Reputation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Reputationwhere
Reputation: Default,
impl<'de> Deserialize<'de> for Reputationwhere
Reputation: Default,
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
Source§impl PartialEq for Reputation
impl PartialEq for Reputation
Source§impl Serialize for Reputation
impl Serialize for Reputation
impl StructuralPartialEq for Reputation
Auto Trait Implementations§
impl Freeze for Reputation
impl RefUnwindSafe for Reputation
impl Send for Reputation
impl Sync for Reputation
impl Unpin for Reputation
impl UnwindSafe for Reputation
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