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