pub struct ProviderInfo {
pub vendor: String,
pub protocol: ProtocolId,
pub display_name: String,
}Expand description
Provider metadata (vendor name, API style, tracing labels, etc.).
Fields§
§vendor: StringVendor identifier (e.g. “anthropic”, “openai”, “bedrock”, …).
protocol: ProtocolIdUnderlying protocol.
display_name: StringHuman-readable name for tracing (e.g. “Anthropic Claude”).
Trait Implementations§
Source§impl Clone for ProviderInfo
impl Clone for ProviderInfo
Source§fn clone(&self) -> ProviderInfo
fn clone(&self) -> ProviderInfo
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 moreSource§impl Debug for ProviderInfo
impl Debug for ProviderInfo
Source§impl<'de> Deserialize<'de> for ProviderInfo
impl<'de> Deserialize<'de> for ProviderInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProviderInfo
Source§impl PartialEq for ProviderInfo
impl PartialEq for ProviderInfo
Source§fn eq(&self, other: &ProviderInfo) -> bool
fn eq(&self, other: &ProviderInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderInfo
impl Serialize for ProviderInfo
impl StructuralPartialEq for ProviderInfo
Auto Trait Implementations§
impl Freeze for ProviderInfo
impl RefUnwindSafe for ProviderInfo
impl Send for ProviderInfo
impl Sync for ProviderInfo
impl Unpin for ProviderInfo
impl UnsafeUnpin for ProviderInfo
impl UnwindSafe for ProviderInfo
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