pub struct UserPromptArgs {
pub config_path: PathBuf,
pub cwd: Option<PathBuf>,
pub prompt_override: Option<String>,
}Fields§
§config_path: PathBuf§cwd: Option<PathBuf>§prompt_override: Option<String>Override for stdin content (used in tests).
Trait Implementations§
Source§impl Clone for UserPromptArgs
impl Clone for UserPromptArgs
Source§fn clone(&self) -> UserPromptArgs
fn clone(&self) -> UserPromptArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UserPromptArgs
impl RefUnwindSafe for UserPromptArgs
impl Send for UserPromptArgs
impl Sync for UserPromptArgs
impl Unpin for UserPromptArgs
impl UnsafeUnpin for UserPromptArgs
impl UnwindSafe for UserPromptArgs
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