pub struct ModelsSettings {
pub watched_folders: Vec<String>,
pub hf_cache_roots: Vec<String>,
}Expand description
The discovery-relevant model settings: user-added folders to watch and extra Hugging Face cache roots. (The full settings domain is not yet ported.)
Fields§
§watched_folders: Vec<String>Extra directories the user asked to scan for loose files.
hf_cache_roots: Vec<String>Extra Hugging Face cache roots the user configured.
Trait Implementations§
Source§impl Clone for ModelsSettings
impl Clone for ModelsSettings
Source§fn clone(&self) -> ModelsSettings
fn clone(&self) -> ModelsSettings
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 ModelsSettings
impl Debug for ModelsSettings
Source§impl Default for ModelsSettings
impl Default for ModelsSettings
Source§fn default() -> ModelsSettings
fn default() -> ModelsSettings
Returns the “default value” for a type. Read more
impl Eq for ModelsSettings
Source§impl PartialEq for ModelsSettings
impl PartialEq for ModelsSettings
impl StructuralPartialEq for ModelsSettings
Auto Trait Implementations§
impl Freeze for ModelsSettings
impl RefUnwindSafe for ModelsSettings
impl Send for ModelsSettings
impl Sync for ModelsSettings
impl Unpin for ModelsSettings
impl UnsafeUnpin for ModelsSettings
impl UnwindSafe for ModelsSettings
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