pub struct PromptConfigFile {
pub file: String,
pub text: Option<String>,
pub provider_overlays: BTreeMap<String, String>,
pub model_overlays: BTreeMap<String, String>,
}Fields§
§file: String§text: Option<String>§provider_overlays: BTreeMap<String, String>§model_overlays: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for PromptConfigFile
impl Clone for PromptConfigFile
Source§fn clone(&self) -> PromptConfigFile
fn clone(&self) -> PromptConfigFile
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 PromptConfigFile
impl Debug for PromptConfigFile
Source§impl Default for PromptConfigFile
impl Default for PromptConfigFile
Source§fn default() -> PromptConfigFile
fn default() -> PromptConfigFile
Returns the “default value” for a type. Read more
impl Eq for PromptConfigFile
Source§impl PartialEq for PromptConfigFile
impl PartialEq for PromptConfigFile
Source§fn eq(&self, other: &PromptConfigFile) -> bool
fn eq(&self, other: &PromptConfigFile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PromptConfigFile
Auto Trait Implementations§
impl Freeze for PromptConfigFile
impl RefUnwindSafe for PromptConfigFile
impl Send for PromptConfigFile
impl Sync for PromptConfigFile
impl Unpin for PromptConfigFile
impl UnsafeUnpin for PromptConfigFile
impl UnwindSafe for PromptConfigFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.