pub struct DecisionContext {
pub project_path: PathBuf,
pub file_path: PathBuf,
pub line_number: u32,
pub agent_type: String,
}Expand description
Context in which a decision was made
Fields§
§project_path: PathBufPath to the project
file_path: PathBufPath to the file being edited
line_number: u32Line number in the file
agent_type: StringType of agent making the decision
Trait Implementations§
Source§impl Clone for DecisionContext
impl Clone for DecisionContext
Source§fn clone(&self) -> DecisionContext
fn clone(&self) -> DecisionContext
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 DecisionContext
impl Debug for DecisionContext
Source§impl<'de> Deserialize<'de> for DecisionContext
impl<'de> Deserialize<'de> for DecisionContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DecisionContext
impl RefUnwindSafe for DecisionContext
impl Send for DecisionContext
impl Sync for DecisionContext
impl Unpin for DecisionContext
impl UnwindSafe for DecisionContext
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