pub struct ServerLibrarySettings {
pub face_threshold: Option<f32>,
pub ignore_groups: Option<bool>,
pub preduction_model: Option<String>,
pub embeddings: Option<bool>,
pub embeddings_paused: Option<bool>,
pub map_progress: Option<Vec<UserMapping>>,
pub data_path: Option<String>,
pub epg_url: Option<String>,
pub max_streams: Option<u32>,
}Fields§
§face_threshold: Option<f32>§ignore_groups: Option<bool>§preduction_model: Option<String>§embeddings: Option<bool>Compute media embeddings in the background (semantic search). Off when absent.
embeddings_paused: Option<bool>Background embedding is suspended until it is resumed. Stored here so a pause survives a restart.
map_progress: Option<Vec<UserMapping>>§data_path: Option<String>§epg_url: Option<String>§max_streams: Option<u32>Implementations§
Source§impl ServerLibrarySettings
impl ServerLibrarySettings
Sourcepub fn apply(&mut self, patch: ServerLibrarySettingsPatch)
pub fn apply(&mut self, patch: ServerLibrarySettingsPatch)
Applies a change: the settings the patch does not name are kept.
Trait Implementations§
Source§impl Clone for ServerLibrarySettings
impl Clone for ServerLibrarySettings
Source§impl Debug for ServerLibrarySettings
impl Debug for ServerLibrarySettings
Source§impl Default for ServerLibrarySettings
impl Default for ServerLibrarySettings
Source§impl<'de> Deserialize<'de> for ServerLibrarySettings
impl<'de> Deserialize<'de> for ServerLibrarySettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ServerLibrarySettings
impl Freeze for ServerLibrarySettings
impl Move for ServerLibrarySettings
impl RefUnwindSafe for ServerLibrarySettings
impl Send for ServerLibrarySettingswhere
RawVecInner: Send,
impl Sync for ServerLibrarySettingswhere
RawVecInner: Sync,
impl Unpin for ServerLibrarySettings
impl UnsafeUnpin for ServerLibrarySettingswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UserMapping>: UnsafeUnpin,
impl UnwindSafe for ServerLibrarySettingswhere
RawVecInner: UnwindSafe,
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