Enum usiem::components::dataset::calendar::UpdateCalendar
source · pub enum UpdateCalendar {
Add((i64, i64, Cow<'static, str>)),
Remove((i64, i64)),
Replace(CalendarDataset),
}
Expand description
Enum used to Add/Remove an IP in the GeoIP dataset or full replace it
Variants
Add((i64, i64, Cow<'static, str>))
Remove((i64, i64))
Replace(CalendarDataset)
Trait Implementations
sourceimpl Debug for UpdateCalendar
impl Debug for UpdateCalendar
sourceimpl Serialize for UpdateCalendar
impl Serialize for UpdateCalendar
Auto Trait Implementations
impl RefUnwindSafe for UpdateCalendar
impl Send for UpdateCalendar
impl Sync for UpdateCalendar
impl Unpin for UpdateCalendar
impl UnwindSafe for UpdateCalendar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more