pub struct GuideOptions {
pub documents: Vec<String>,
pub states: Vec<(String, String)>,
pub cwd: PathBuf,
pub cache: CacheMode,
}Expand description
GuideOptions holds the options of sokf guide.
Fields§
§documents: Vec<String>documents holds the arguments, each an id or a path of a document.
states: Vec<(String, String)>states holds the values of --state, each a key and a state, in the
order of the arguments.
cwd: PathBufcwd is the current directory, from which a relative path resolves.
cache: CacheModecache is the cache mode.
Trait Implementations§
Source§impl Clone for GuideOptions
impl Clone for GuideOptions
Auto Trait Implementations§
impl Forget for GuideOptions
impl Freeze for GuideOptions
impl Move for GuideOptions
impl RefUnwindSafe for GuideOptions
impl Send for GuideOptions
impl Sync for GuideOptions
impl Unpin for GuideOptions
impl UnsafeUnpin for GuideOptions
impl UnwindSafe for GuideOptions
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