pub struct HistoryArgs {
pub pass: Option<usize>,
pub limit: Option<usize>,
pub all: bool,
pub json: bool,
pub export: Option<Option<PathBuf>>,
pub scores: bool,
}Expand description
Options for the history command, from the CLI.
Fields§
§pass: Option<usize>Show one pass in full. 1 is the most recent.
limit: Option<usize>How many passes the list shows.
all: boolShow every recorded pass.
json: boolEmit the whole log as one JSON document.
export: Option<Option<PathBuf>>Write the JSON document to a file. Some(None) means the default location.
scores: boolShow leaderboard high scores.
Auto Trait Implementations§
impl Freeze for HistoryArgs
impl RefUnwindSafe for HistoryArgs
impl Send for HistoryArgs
impl Sync for HistoryArgs
impl Unpin for HistoryArgs
impl UnsafeUnpin for HistoryArgs
impl UnwindSafe for HistoryArgs
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more