pub struct Bindings {
pub providers: BTreeMap<String, String>,
pub usage_keys: BTreeMap<String, UsageKeys>,
}Expand description
Host configuration the projection reads (3.7.2). Rustev names no vendor: provider names and usage keys come only from here or from the exchange record.
Fields§
§providers: BTreeMap<String, String>Backend id to gen_ai.provider.name.
usage_keys: BTreeMap<String, UsageKeys>Backend id to its usage keys.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bindings
impl RefUnwindSafe for Bindings
impl Send for Bindings
impl Sync for Bindings
impl Unpin for Bindings
impl UnsafeUnpin for Bindings
impl UnwindSafe for Bindings
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