pub struct ModelSelection {
pub model: &'static str,
pub variant: Option<&'static str>,
}Fields§
§model: &'static str§variant: Option<&'static str>Trait Implementations§
Source§impl Clone for ModelSelection
impl Clone for ModelSelection
Source§fn clone(&self) -> ModelSelection
fn clone(&self) -> ModelSelection
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 moreAuto Trait Implementations§
impl Freeze for ModelSelection
impl RefUnwindSafe for ModelSelection
impl Send for ModelSelection
impl Sync for ModelSelection
impl Unpin for ModelSelection
impl UnsafeUnpin for ModelSelection
impl UnwindSafe for ModelSelection
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