Struct jobrog::vacation::VacationController
source · [−]pub struct VacationController { /* private fields */ }
Implementations
sourceimpl VacationController
impl VacationController
pub fn read(path: Option<PathBuf>, directory: Option<&str>) -> VacationController
pub fn add_vacation_times(
&self,
start: &NaiveDateTime,
end: &NaiveDateTime,
events: Vec<Event>,
conf: &Configuration,
now: Option<NaiveDateTime>,
filter: &Filter<'_>
) -> Vec<Event>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Auto Trait Implementations
impl RefUnwindSafe for VacationController
impl Send for VacationController
impl Sync for VacationController
impl Unpin for VacationController
impl UnwindSafe for VacationController
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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