pub struct KnownModel {
pub dir_name: &'static str,
pub version: &'static str,
pub description: &'static str,
}Expand description
Metadata for a known model in the cache layout.
Fields§
§dir_name: &'static strDirectory name under the cache root.
version: &'static strCurrent version tag.
description: &'static strHuman-readable description.
Trait Implementations§
Source§impl Clone for KnownModel
impl Clone for KnownModel
Source§fn clone(&self) -> KnownModel
fn clone(&self) -> KnownModel
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 KnownModel
impl Debug for KnownModel
Source§impl PartialEq for KnownModel
impl PartialEq for KnownModel
Source§fn eq(&self, other: &KnownModel) -> bool
fn eq(&self, other: &KnownModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for KnownModel
impl Eq for KnownModel
impl StructuralPartialEq for KnownModel
Auto Trait Implementations§
impl Freeze for KnownModel
impl RefUnwindSafe for KnownModel
impl Send for KnownModel
impl Sync for KnownModel
impl Unpin for KnownModel
impl UnsafeUnpin for KnownModel
impl UnwindSafe for KnownModel
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).