Enum adblock::lists::ExpiresInterval
source · pub enum ExpiresInterval {
Hours(u16),
Days(u8),
}
Expand description
Corresponds to the expires
field of FilterListMetadata
.
Variants§
Trait Implementations§
source§impl Debug for ExpiresInterval
impl Debug for ExpiresInterval
source§impl PartialEq for ExpiresInterval
impl PartialEq for ExpiresInterval
source§fn eq(&self, other: &ExpiresInterval) -> bool
fn eq(&self, other: &ExpiresInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExpiresInterval
impl Serialize for ExpiresInterval
source§impl TryFrom<&str> for ExpiresInterval
impl TryFrom<&str> for ExpiresInterval
impl StructuralPartialEq for ExpiresInterval
Auto Trait Implementations§
impl Freeze for ExpiresInterval
impl RefUnwindSafe for ExpiresInterval
impl Send for ExpiresInterval
impl Sync for ExpiresInterval
impl Unpin for ExpiresInterval
impl UnwindSafe for ExpiresInterval
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