pub struct ModelArchitecture {
pub tokenizer: Option<String>,
pub instruct_type: Option<String>,
pub modality: Option<String>,
pub input_modalities: Vec<String>,
pub output_modalities: Vec<String>,
}Fields§
§tokenizer: Option<String>§instruct_type: Option<String>§modality: Option<String>§input_modalities: Vec<String>§output_modalities: Vec<String>Trait Implementations§
Source§impl Clone for ModelArchitecture
impl Clone for ModelArchitecture
Source§fn clone(&self) -> ModelArchitecture
fn clone(&self) -> ModelArchitecture
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 ModelArchitecture
impl Debug for ModelArchitecture
Source§impl<'de> Deserialize<'de> for ModelArchitecture
impl<'de> Deserialize<'de> for ModelArchitecture
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 ModelArchitecture
impl RefUnwindSafe for ModelArchitecture
impl Send for ModelArchitecture
impl Sync for ModelArchitecture
impl Unpin for ModelArchitecture
impl UnwindSafe for ModelArchitecture
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