pub struct CachedComplexity {
pub level: ComplexityLevel,
pub analyzed_at: DateTime<Utc>,
}Expand description
Cached complexity level
Fields§
§level: ComplexityLevelComplexity level
analyzed_at: DateTime<Utc>When the analysis was performed
Implementations§
Source§impl CachedComplexity
impl CachedComplexity
pub fn new(level: ComplexityLevel) -> Self
Trait Implementations§
Source§impl Clone for CachedComplexity
impl Clone for CachedComplexity
Source§fn clone(&self) -> CachedComplexity
fn clone(&self) -> CachedComplexity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CachedComplexity
impl RefUnwindSafe for CachedComplexity
impl Send for CachedComplexity
impl Sync for CachedComplexity
impl Unpin for CachedComplexity
impl UnsafeUnpin for CachedComplexity
impl UnwindSafe for CachedComplexity
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