Struct rust_bert::pipelines::common::ONNXLocalPaths
source · pub struct ONNXLocalPaths {
pub encoder_path: Option<PathBuf>,
pub decoder_path: Option<PathBuf>,
pub decoder_with_past_path: Option<PathBuf>,
}
Fields§
§encoder_path: Option<PathBuf>
§decoder_path: Option<PathBuf>
§decoder_with_past_path: Option<PathBuf>
Auto Trait Implementations§
impl RefUnwindSafe for ONNXLocalPaths
impl Send for ONNXLocalPaths
impl Sync for ONNXLocalPaths
impl Unpin for ONNXLocalPaths
impl UnwindSafe for ONNXLocalPaths
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