pub struct IcsOptions {
pub kinds: Vec<EventKind>,
pub now: String,
pub calendar_name: String,
}Expand description
Options for build_ics.
Fields§
§kinds: Vec<EventKind>§now: StringDTSTAMP as an RFC 3339 string.
Injectable for the same reason as the TypeScript side: a fixture that embeds the wall clock cannot be compared with anything, and without a fixed stamp the CLI and the app can never produce identical bytes.
calendar_name: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for IcsOptions
impl RefUnwindSafe for IcsOptions
impl Send for IcsOptions
impl Sync for IcsOptions
impl Unpin for IcsOptions
impl UnsafeUnpin for IcsOptions
impl UnwindSafe for IcsOptions
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