pub struct CursorProjector {
pub composer_id: Option<String>,
pub workspace_id: Option<String>,
pub workspace_path: Option<PathBuf>,
pub agent_backend: Option<String>,
pub default_model: Option<String>,
pub title: Option<String>,
}Fields§
§composer_id: Option<String>§workspace_id: Option<String>§workspace_path: Option<PathBuf>§agent_backend: Option<String>§default_model: Option<String>§title: Option<String>Implementations§
Source§impl CursorProjector
impl CursorProjector
pub fn new() -> Self
pub fn with_composer_id(self, id: impl Into<String>) -> Self
pub fn with_workspace_id(self, id: impl Into<String>) -> Self
pub fn with_workspace_path(self, p: impl Into<PathBuf>) -> Self
pub fn with_agent_backend(self, b: impl Into<String>) -> Self
pub fn with_default_model(self, m: impl Into<String>) -> Self
pub fn with_title(self, t: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for CursorProjector
impl Clone for CursorProjector
Source§fn clone(&self) -> CursorProjector
fn clone(&self) -> CursorProjector
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 moreSource§impl ConversationProjector for CursorProjector
impl ConversationProjector for CursorProjector
Source§type Output = CursorSession
type Output = CursorSession
The type produced by projecting a
ConversationView.Source§fn project(&self, view: &ConversationView) -> Result<CursorSession>
fn project(&self, view: &ConversationView) -> Result<CursorSession>
Project
view into Self::Output.Source§impl Debug for CursorProjector
impl Debug for CursorProjector
Source§impl Default for CursorProjector
impl Default for CursorProjector
Source§fn default() -> CursorProjector
fn default() -> CursorProjector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CursorProjector
impl RefUnwindSafe for CursorProjector
impl Send for CursorProjector
impl Sync for CursorProjector
impl Unpin for CursorProjector
impl UnsafeUnpin for CursorProjector
impl UnwindSafe for CursorProjector
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