pub struct IrCounter {
pub name: String,
pub key_type: String,
pub cap: i64,
pub reset: String,
pub timezone: Option<String>,
pub shared: bool,
pub span: SourceSpan,
}Fields§
§name: String§key_type: String§cap: i64§reset: String§timezone: Option<String>IANA timezone anchoring the reset-period boundary; None = UTC.
span: SourceSpanTrait Implementations§
impl Eq for IrCounter
impl StructuralPartialEq for IrCounter
Auto Trait Implementations§
impl Freeze for IrCounter
impl RefUnwindSafe for IrCounter
impl Send for IrCounter
impl Sync for IrCounter
impl Unpin for IrCounter
impl UnsafeUnpin for IrCounter
impl UnwindSafe for IrCounter
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