pub struct OpencodeProjector {
pub project_id: Option<String>,
pub directory: Option<PathBuf>,
pub workspace_id: Option<String>,
pub agent: Option<String>,
pub default_model_provider: Option<String>,
pub default_model_id: Option<String>,
pub version: Option<String>,
pub slug: Option<String>,
pub title: Option<String>,
}Fields§
§project_id: Option<String>§directory: Option<PathBuf>§workspace_id: Option<String>§agent: Option<String>§default_model_provider: Option<String>§default_model_id: Option<String>§version: Option<String>§slug: Option<String>§title: Option<String>Implementations§
Source§impl OpencodeProjector
impl OpencodeProjector
pub fn new() -> Self
pub fn with_project_id(self, id: impl Into<String>) -> Self
pub fn with_directory(self, dir: impl Into<PathBuf>) -> Self
pub fn with_workspace_id(self, id: impl Into<String>) -> Self
pub fn with_agent(self, agent: impl Into<String>) -> Self
pub fn with_version(self, v: impl Into<String>) -> Self
pub fn with_title(self, title: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for OpencodeProjector
impl Clone for OpencodeProjector
Source§fn clone(&self) -> OpencodeProjector
fn clone(&self) -> OpencodeProjector
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 Debug for OpencodeProjector
impl Debug for OpencodeProjector
Source§impl Default for OpencodeProjector
impl Default for OpencodeProjector
Source§fn default() -> OpencodeProjector
fn default() -> OpencodeProjector
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OpencodeProjector
impl RefUnwindSafe for OpencodeProjector
impl Send for OpencodeProjector
impl Sync for OpencodeProjector
impl Unpin for OpencodeProjector
impl UnsafeUnpin for OpencodeProjector
impl UnwindSafe for OpencodeProjector
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