Struct usiem::components::dataset::calendar::CalendarSynDataset[][src]

pub struct CalendarSynDataset { /* fields omitted */ }

Implementations

impl CalendarSynDataset[src]

pub fn new(
    dataset: Arc<CalendarDataset>,
    comm: Sender<UpdateCalendar>
) -> CalendarSynDataset
[src]

pub fn insert(&mut self, start: i64, end: i64, data: Cow<'static, str>)[src]

Used to add IP with custom information like tags.

pub fn remove(&mut self, start: i64, end: i64)[src]

pub fn update(&mut self, data: CalendarDataset)[src]

pub fn get(&self, time: i64) -> Option<Vec<&Cow<'static, str>>>[src]

Trait Implementations

impl Debug for CalendarSynDataset[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.