pub struct FingerprintReputation {Show 19 fields
pub fingerprint_hash: String,
pub first_seen_at: DateTime<Utc>,
pub last_seen_at: DateTime<Utc>,
pub total_session_count: i32,
pub active_session_count: i32,
pub total_request_count: i64,
pub requests_last_hour: i32,
pub peak_requests_per_minute: f32,
pub sustained_high_velocity_minutes: i32,
pub is_flagged: bool,
pub flag_reason: Option<String>,
pub flagged_at: Option<DateTime<Utc>>,
pub reputation_score: i32,
pub abuse_incidents: i32,
pub last_abuse_at: Option<DateTime<Utc>>,
pub last_ip_address: Option<String>,
pub last_user_agent: Option<String>,
pub associated_user_ids: Vec<String>,
pub updated_at: DateTime<Utc>,
}Fields§
§fingerprint_hash: String§first_seen_at: DateTime<Utc>§last_seen_at: DateTime<Utc>§total_session_count: i32§active_session_count: i32§total_request_count: i64§requests_last_hour: i32§peak_requests_per_minute: f32§sustained_high_velocity_minutes: i32§is_flagged: bool§flag_reason: Option<String>§flagged_at: Option<DateTime<Utc>>§reputation_score: i32§abuse_incidents: i32§last_abuse_at: Option<DateTime<Utc>>§last_ip_address: Option<String>§last_user_agent: Option<String>§associated_user_ids: Vec<String>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for FingerprintReputation
impl Clone for FingerprintReputation
Source§fn clone(&self) -> FingerprintReputation
fn clone(&self) -> FingerprintReputation
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 FingerprintReputation
impl Debug for FingerprintReputation
Source§impl<'de> Deserialize<'de> for FingerprintReputation
impl<'de> Deserialize<'de> for FingerprintReputation
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<'a, R: Row> FromRow<'a, R> for FingerprintReputationwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
f32: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Vec<String>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for FingerprintReputationwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
DateTime<Utc>: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
f32: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Option<String>: Decode<'a, R::Database> + Type<R::Database>,
Option<DateTime<Utc>>: Decode<'a, R::Database> + Type<R::Database>,
Vec<String>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for FingerprintReputation
impl RefUnwindSafe for FingerprintReputation
impl Send for FingerprintReputation
impl Sync for FingerprintReputation
impl Unpin for FingerprintReputation
impl UnsafeUnpin for FingerprintReputation
impl UnwindSafe for FingerprintReputation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more