pub struct LoginMetrics {
pub logins: Vec<Coordinate>,
pub logins_failed: Vec<Coordinate>,
pub authorizations: Vec<Coordinate>,
}Expand description
LoginMetrics : Login Metrics per 1h
Fields§
§logins: Vec<Coordinate>§logins_failed: Vec<Coordinate>Implementations§
Source§impl LoginMetrics
impl LoginMetrics
Sourcepub fn new(
logins: Vec<Coordinate>,
logins_failed: Vec<Coordinate>,
authorizations: Vec<Coordinate>,
) -> LoginMetrics
pub fn new( logins: Vec<Coordinate>, logins_failed: Vec<Coordinate>, authorizations: Vec<Coordinate>, ) -> LoginMetrics
Login Metrics per 1h
Trait Implementations§
Source§impl Clone for LoginMetrics
impl Clone for LoginMetrics
Source§fn clone(&self) -> LoginMetrics
fn clone(&self) -> LoginMetrics
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 LoginMetrics
impl Debug for LoginMetrics
Source§impl Default for LoginMetrics
impl Default for LoginMetrics
Source§fn default() -> LoginMetrics
fn default() -> LoginMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoginMetrics
impl<'de> Deserialize<'de> for LoginMetrics
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 LoginMetrics
impl PartialEq for LoginMetrics
Source§impl Serialize for LoginMetrics
impl Serialize for LoginMetrics
impl StructuralPartialEq for LoginMetrics
Auto Trait Implementations§
impl Freeze for LoginMetrics
impl RefUnwindSafe for LoginMetrics
impl Send for LoginMetrics
impl Sync for LoginMetrics
impl Unpin for LoginMetrics
impl UnwindSafe for LoginMetrics
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