pub struct Model<'s> {
pub name: Cow<'s, str>,
pub model_type: ModelType<'s>,
pub params: Vec<KeyValue<'s>>,
}Fields§
§name: Cow<'s, str>§model_type: ModelType<'s>§params: Vec<KeyValue<'s>>Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for Model<'s>
impl<'s> RefUnwindSafe for Model<'s>
impl<'s> Send for Model<'s>
impl<'s> Sync for Model<'s>
impl<'s> Unpin for Model<'s>
impl<'s> UnwindSafe for Model<'s>
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