pub struct GlobalFlaggedToolEntry {
pub flagged_at: Instant,
pub ttl: Duration,
}Expand description
Entry in the global flagged-tools registry. Records when a tool was flagged so it can be expired after TTL.
Fields§
§flagged_at: InstantWhen the tool was first flagged.
ttl: DurationTTL after which this entry expires.
Trait Implementations§
Source§impl Clone for GlobalFlaggedToolEntry
impl Clone for GlobalFlaggedToolEntry
Source§fn clone(&self) -> GlobalFlaggedToolEntry
fn clone(&self) -> GlobalFlaggedToolEntry
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 moreAuto Trait Implementations§
impl Freeze for GlobalFlaggedToolEntry
impl RefUnwindSafe for GlobalFlaggedToolEntry
impl Send for GlobalFlaggedToolEntry
impl Sync for GlobalFlaggedToolEntry
impl Unpin for GlobalFlaggedToolEntry
impl UnsafeUnpin for GlobalFlaggedToolEntry
impl UnwindSafe for GlobalFlaggedToolEntry
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