pub struct CascadeEntry {
pub provider: String,
pub model: String,
}Expand description
A single entry in a cascade, referencing a provider and model.
Fields§
§provider: StringThe provider name (must match a key in [providers]).
model: StringThe model identifier to use with this provider.
Trait Implementations§
Source§impl Clone for CascadeEntry
impl Clone for CascadeEntry
Source§fn clone(&self) -> CascadeEntry
fn clone(&self) -> CascadeEntry
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 CascadeEntry
impl Debug for CascadeEntry
Source§impl<'de> Deserialize<'de> for CascadeEntry
impl<'de> Deserialize<'de> for CascadeEntry
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 CascadeEntry
impl RefUnwindSafe for CascadeEntry
impl Send for CascadeEntry
impl Sync for CascadeEntry
impl Unpin for CascadeEntry
impl UnsafeUnpin for CascadeEntry
impl UnwindSafe for CascadeEntry
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