pub struct RegisterOptionsOwned {
pub provider: String,
pub model: String,
pub command: String,
pub prompt_preview: Option<String>,
pub session_id: Option<String>,
pub session_name: Option<String>,
pub root: Option<String>,
}Expand description
Owned variant of RegisterOptions for storage on a builder before the
terminal method runs.
Fields§
§provider: String§model: String§command: String§prompt_preview: Option<String>§session_id: Option<String>§session_name: Option<String>§root: Option<String>Trait Implementations§
Source§impl Clone for RegisterOptionsOwned
impl Clone for RegisterOptionsOwned
Source§fn clone(&self) -> RegisterOptionsOwned
fn clone(&self) -> RegisterOptionsOwned
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 RegisterOptionsOwned
impl Debug for RegisterOptionsOwned
Source§impl Default for RegisterOptionsOwned
impl Default for RegisterOptionsOwned
Source§fn default() -> RegisterOptionsOwned
fn default() -> RegisterOptionsOwned
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RegisterOptionsOwned
impl RefUnwindSafe for RegisterOptionsOwned
impl Send for RegisterOptionsOwned
impl Sync for RegisterOptionsOwned
impl Unpin for RegisterOptionsOwned
impl UnsafeUnpin for RegisterOptionsOwned
impl UnwindSafe for RegisterOptionsOwned
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