pub struct ProjectContext {
pub cwd: PathBuf,
pub current_date: String,
pub git_status: Option<String>,
pub git_diff: Option<String>,
pub instruction_files: Vec<ContextFile>,
}Fields§
§cwd: PathBuf§current_date: String§git_status: Option<String>§git_diff: Option<String>§instruction_files: Vec<ContextFile>Implementations§
Trait Implementations§
Source§impl Clone for ProjectContext
impl Clone for ProjectContext
Source§fn clone(&self) -> ProjectContext
fn clone(&self) -> ProjectContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectContext
impl Debug for ProjectContext
Source§impl Default for ProjectContext
impl Default for ProjectContext
Source§fn default() -> ProjectContext
fn default() -> ProjectContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for ProjectContext
impl PartialEq for ProjectContext
impl Eq for ProjectContext
impl StructuralPartialEq for ProjectContext
Auto Trait Implementations§
impl Freeze for ProjectContext
impl RefUnwindSafe for ProjectContext
impl Send for ProjectContext
impl Sync for ProjectContext
impl Unpin for ProjectContext
impl UnsafeUnpin for ProjectContext
impl UnwindSafe for ProjectContext
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