pub struct ProviderDeclaration {
pub id: String,
pub models: Vec<Model>,
pub api_key_env: Option<String>,
pub requires_auth: bool,
}Expand description
Provider metadata supplied by the host’s existing extension registry.
Fields§
§id: String§models: Vec<Model>§api_key_env: Option<String>§requires_auth: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ProviderDeclaration
impl RefUnwindSafe for ProviderDeclaration
impl Send for ProviderDeclaration
impl Sync for ProviderDeclaration
impl Unpin for ProviderDeclaration
impl UnsafeUnpin for ProviderDeclaration
impl UnwindSafe for ProviderDeclaration
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