pub struct AvailableModelInfo {
pub mapping_id: String,
pub client_name: String,
pub upstream_name: String,
}Expand description
A model bound to a channel, returned as part of AvailableChannelInfo.
Fields§
§mapping_id: StringModel mapping ID.
client_name: StringClient-facing model name.
upstream_name: StringUpstream model name sent to the provider.
Trait Implementations§
Source§impl Clone for AvailableModelInfo
impl Clone for AvailableModelInfo
Source§fn clone(&self) -> AvailableModelInfo
fn clone(&self) -> AvailableModelInfo
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 AvailableModelInfo
impl Debug for AvailableModelInfo
Source§impl<'de> Deserialize<'de> for AvailableModelInfo
impl<'de> Deserialize<'de> for AvailableModelInfo
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 AvailableModelInfo
impl RefUnwindSafe for AvailableModelInfo
impl Send for AvailableModelInfo
impl Sync for AvailableModelInfo
impl Unpin for AvailableModelInfo
impl UnsafeUnpin for AvailableModelInfo
impl UnwindSafe for AvailableModelInfo
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