pub struct OpenAiSettings {
pub api_url: String,
pub api_key: String,
}Fields§
§api_url: String§api_key: StringTrait Implementations§
Source§impl Clone for OpenAiSettings
impl Clone for OpenAiSettings
Source§fn clone(&self) -> OpenAiSettings
fn clone(&self) -> OpenAiSettings
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 OpenAiSettings
impl Debug for OpenAiSettings
Source§impl Default for OpenAiSettings
impl Default for OpenAiSettings
Source§fn default() -> OpenAiSettings
fn default() -> OpenAiSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for OpenAiSettings
impl PartialEq for OpenAiSettings
impl StructuralPartialEq for OpenAiSettings
Auto Trait Implementations§
impl Freeze for OpenAiSettings
impl RefUnwindSafe for OpenAiSettings
impl Send for OpenAiSettings
impl Sync for OpenAiSettings
impl Unpin for OpenAiSettings
impl UnwindSafe for OpenAiSettings
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