pub struct FileReadiness {
pub logical_name: &'static str,
pub relative_path: &'static str,
pub status: LocalFileStatus,
}Expand description
Readiness information for one required model file (RFC-043 §10.2).
Fields§
§logical_name: &'static strLogical name (e.g. “tokenizer”, “model”).
relative_path: &'static strRelative path within the model directory.
status: LocalFileStatusCurrent status of the local file.
Trait Implementations§
Source§impl Clone for FileReadiness
impl Clone for FileReadiness
Source§fn clone(&self) -> FileReadiness
fn clone(&self) -> FileReadiness
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 FileReadiness
impl RefUnwindSafe for FileReadiness
impl Send for FileReadiness
impl Sync for FileReadiness
impl Unpin for FileReadiness
impl UnsafeUnpin for FileReadiness
impl UnwindSafe for FileReadiness
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