pub struct PrompterOptions {
pub other: Vec<String>,
pub input: Option<String>,
pub model: Option<String>,
pub output: Option<String>,
}
Expand description
Fields§
§other: Vec<String>
Extended nonstandard prompter options.
input: Option<String>
The input format.
model: Option<String>
The inference model.
output: Option<String>
The output format.
Implementations§
Source§impl PrompterOptions
impl PrompterOptions
Sourcepub fn builder() -> PrompterOptionsBuilder
pub fn builder() -> PrompterOptionsBuilder
Create an instance of PrompterOptions
using the builder syntax
Trait Implementations§
Source§impl Clone for PrompterOptions
impl Clone for PrompterOptions
Source§fn clone(&self) -> PrompterOptions
fn clone(&self) -> PrompterOptions
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 PrompterOptions
impl Debug for PrompterOptions
Source§impl Default for PrompterOptions
impl Default for PrompterOptions
Source§fn default() -> PrompterOptions
fn default() -> PrompterOptions
Returns the “default value” for a type. Read more
Source§impl Hash for PrompterOptions
impl Hash for PrompterOptions
Source§impl Ord for PrompterOptions
impl Ord for PrompterOptions
Source§fn cmp(&self, other: &PrompterOptions) -> Ordering
fn cmp(&self, other: &PrompterOptions) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrompterOptions
impl PartialEq for PrompterOptions
Source§impl PartialOrd for PrompterOptions
impl PartialOrd for PrompterOptions
impl Eq for PrompterOptions
impl StructuralPartialEq for PrompterOptions
Auto Trait Implementations§
impl Freeze for PrompterOptions
impl RefUnwindSafe for PrompterOptions
impl Send for PrompterOptions
impl Sync for PrompterOptions
impl Unpin for PrompterOptions
impl UnwindSafe for PrompterOptions
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