pub struct WriteContext {
pub actor: String,
pub project: String,
pub now: Option<NaiveDateTime>,
}Fields§
§actor: String§project: String§now: Option<NaiveDateTime>Clock for timestamps written into Org text (CLOSED, LOGBOOK, %U); None uses the local time. Tests and oracles pin it.
Implementations§
Source§impl WriteContext
impl WriteContext
Trait Implementations§
Source§impl Clone for WriteContext
impl Clone for WriteContext
Auto Trait Implementations§
impl Freeze for WriteContext
impl RefUnwindSafe for WriteContext
impl Send for WriteContext
impl Sync for WriteContext
impl Unpin for WriteContext
impl UnsafeUnpin for WriteContext
impl UnwindSafe for WriteContext
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