pub struct RemoteMultimodalConfigs {
pub api_url: String,
pub api_key: Option<String>,
pub model_name: String,
}Expand description
Remote multimodal configs (stub when agent feature not enabled).
Fields§
§api_url: StringAPI URL.
api_key: Option<String>API key.
model_name: StringModel name.
Implementations§
Source§impl RemoteMultimodalConfigs
impl RemoteMultimodalConfigs
Sourcepub fn new(api_url: impl Into<String>, model_name: impl Into<String>) -> Self
pub fn new(api_url: impl Into<String>, model_name: impl Into<String>) -> Self
Create a new remote multimodal config (stub - does nothing without agent feature).
Sourcepub fn with_api_key(self, api_key: Option<impl Into<String>>) -> Self
pub fn with_api_key(self, api_key: Option<impl Into<String>>) -> Self
Set the API key (stub - does nothing without agent feature).
Trait Implementations§
Source§impl Clone for RemoteMultimodalConfigs
impl Clone for RemoteMultimodalConfigs
Source§fn clone(&self) -> RemoteMultimodalConfigs
fn clone(&self) -> RemoteMultimodalConfigs
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 RemoteMultimodalConfigs
impl Debug for RemoteMultimodalConfigs
Source§impl Default for RemoteMultimodalConfigs
impl Default for RemoteMultimodalConfigs
Source§fn default() -> RemoteMultimodalConfigs
fn default() -> RemoteMultimodalConfigs
Returns the “default value” for a type. Read more
Source§impl PartialEq for RemoteMultimodalConfigs
impl PartialEq for RemoteMultimodalConfigs
impl StructuralPartialEq for RemoteMultimodalConfigs
Auto Trait Implementations§
impl Freeze for RemoteMultimodalConfigs
impl RefUnwindSafe for RemoteMultimodalConfigs
impl Send for RemoteMultimodalConfigs
impl Sync for RemoteMultimodalConfigs
impl Unpin for RemoteMultimodalConfigs
impl UnwindSafe for RemoteMultimodalConfigs
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more