pub struct ModelDirEntry {
pub name: String,
pub version: String,
pub path: PathBuf,
}Expand description
One model’s directory entry within the cache layout.
Fields§
§name: StringModel directory name.
version: StringVersion tag.
path: PathBufFull path to the model base directory.
Trait Implementations§
Source§impl Clone for ModelDirEntry
impl Clone for ModelDirEntry
Source§fn clone(&self) -> ModelDirEntry
fn clone(&self) -> ModelDirEntry
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 moreSource§impl Debug for ModelDirEntry
impl Debug for ModelDirEntry
Source§impl PartialEq for ModelDirEntry
impl PartialEq for ModelDirEntry
Source§fn eq(&self, other: &ModelDirEntry) -> bool
fn eq(&self, other: &ModelDirEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ModelDirEntry
impl StructuralPartialEq for ModelDirEntry
Auto Trait Implementations§
impl Freeze for ModelDirEntry
impl RefUnwindSafe for ModelDirEntry
impl Send for ModelDirEntry
impl Sync for ModelDirEntry
impl Unpin for ModelDirEntry
impl UnsafeUnpin for ModelDirEntry
impl UnwindSafe for ModelDirEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).