pub struct LlmModelIdentity {
pub provider: String,
pub model: String,
pub prompt_contract: String,
}Fields§
§provider: String§model: String§prompt_contract: StringTrait Implementations§
Source§impl Clone for LlmModelIdentity
impl Clone for LlmModelIdentity
Source§fn clone(&self) -> LlmModelIdentity
fn clone(&self) -> LlmModelIdentity
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 LlmModelIdentity
impl Debug for LlmModelIdentity
Source§impl<'de> Deserialize<'de> for LlmModelIdentity
impl<'de> Deserialize<'de> for LlmModelIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LlmModelIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LlmModelIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LlmModelIdentity
Source§impl PartialEq for LlmModelIdentity
impl PartialEq for LlmModelIdentity
Source§impl Serialize for LlmModelIdentity
impl Serialize for LlmModelIdentity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LlmModelIdentity
Auto Trait Implementations§
impl Freeze for LlmModelIdentity
impl RefUnwindSafe for LlmModelIdentity
impl Send for LlmModelIdentity
impl Sync for LlmModelIdentity
impl Unpin for LlmModelIdentity
impl UnsafeUnpin for LlmModelIdentity
impl UnwindSafe for LlmModelIdentity
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