pub struct Options {
pub coord: Option<String>,
pub location_limit: usize,
pub zonetabtype: String,
pub tzdir: String,
pub pkgversion: String,
pub tzversion: String,
pub argv0: String,
}Expand description
Parsed command-line / environment options.
Fields§
§coord: Option<String>-c COORD (ISO 6709), or None for the menu path.
location_limit: usize-n LIMIT (default 10).
zonetabtype: String-t TYPE (undocumented; default zone1970).
tzdir: String$TZDIR — where the .tab files and compiled zones live (default .).
pkgversion: String(tzcode) — the baked PKGVERSION.
tzversion: Stringe.g. 2026b — the baked TZVERSION.
argv0: String$0 as used in diagnostics (default tzselect).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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