pub struct ProviderRef {
pub provider_id: String,
}Expand description
Reference to a provider instance.
Used to distinguish between different deployments of the same provider.
Fields§
§provider_id: StringProvider identifier (e.g., “openai-west”, “self-hosted-1”).
Trait Implementations§
Source§impl Clone for ProviderRef
impl Clone for ProviderRef
Source§fn clone(&self) -> ProviderRef
fn clone(&self) -> ProviderRef
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 ProviderRef
impl Debug for ProviderRef
Source§impl<'de> Deserialize<'de> for ProviderRef
impl<'de> Deserialize<'de> for ProviderRef
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
Auto Trait Implementations§
impl Freeze for ProviderRef
impl RefUnwindSafe for ProviderRef
impl Send for ProviderRef
impl Sync for ProviderRef
impl Unpin for ProviderRef
impl UnsafeUnpin for ProviderRef
impl UnwindSafe for ProviderRef
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