pub struct BasePromptConfig {
pub file: Option<PathBuf>,
pub text: Option<String>,
}Fields§
§file: Option<PathBuf>§text: Option<String>Trait Implementations§
Source§impl Clone for BasePromptConfig
impl Clone for BasePromptConfig
Source§fn clone(&self) -> BasePromptConfig
fn clone(&self) -> BasePromptConfig
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 BasePromptConfig
impl Debug for BasePromptConfig
Source§impl Default for BasePromptConfig
impl Default for BasePromptConfig
Source§fn default() -> BasePromptConfig
fn default() -> BasePromptConfig
Returns the “default value” for a type. Read more
impl Eq for BasePromptConfig
Source§impl PartialEq for BasePromptConfig
impl PartialEq for BasePromptConfig
Source§fn eq(&self, other: &BasePromptConfig) -> bool
fn eq(&self, other: &BasePromptConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BasePromptConfig
Auto Trait Implementations§
impl Freeze for BasePromptConfig
impl RefUnwindSafe for BasePromptConfig
impl Send for BasePromptConfig
impl Sync for BasePromptConfig
impl Unpin for BasePromptConfig
impl UnsafeUnpin for BasePromptConfig
impl UnwindSafe for BasePromptConfig
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