pub struct ModelEndpoint {
pub provider: String,
pub model: String,
pub base_url: Option<String>,
pub api_key_env: Option<String>,
}Fields§
§provider: String§model: String§base_url: Option<String>§api_key_env: Option<String>Trait Implementations§
Source§impl Clone for ModelEndpoint
impl Clone for ModelEndpoint
Source§fn clone(&self) -> ModelEndpoint
fn clone(&self) -> ModelEndpoint
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 moreAuto Trait Implementations§
impl Freeze for ModelEndpoint
impl RefUnwindSafe for ModelEndpoint
impl Send for ModelEndpoint
impl Sync for ModelEndpoint
impl Unpin for ModelEndpoint
impl UnsafeUnpin for ModelEndpoint
impl UnwindSafe for ModelEndpoint
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