pub struct ModelRefSpec {
pub provider: String,
pub model: String,
}Expand description
Provider+model pair, parent-resolved. (Local mirror of ProviderModelRef;
this crate stays a leaf and does not depend on bamboo-domain.)
Fields§
§provider: String§model: StringTrait Implementations§
Source§impl Clone for ModelRefSpec
impl Clone for ModelRefSpec
Source§fn clone(&self) -> ModelRefSpec
fn clone(&self) -> ModelRefSpec
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 ModelRefSpec
impl Debug for ModelRefSpec
Source§impl<'de> Deserialize<'de> for ModelRefSpec
impl<'de> Deserialize<'de> for ModelRefSpec
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
Source§impl PartialEq for ModelRefSpec
impl PartialEq for ModelRefSpec
Source§fn eq(&self, other: &ModelRefSpec) -> bool
fn eq(&self, other: &ModelRefSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModelRefSpec
impl Serialize for ModelRefSpec
impl StructuralPartialEq for ModelRefSpec
Auto Trait Implementations§
impl Freeze for ModelRefSpec
impl RefUnwindSafe for ModelRefSpec
impl Send for ModelRefSpec
impl Sync for ModelRefSpec
impl Unpin for ModelRefSpec
impl UnsafeUnpin for ModelRefSpec
impl UnwindSafe for ModelRefSpec
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