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§fn clone(&self) -> ServerLibrarySettings
fn clone(&self) -> ServerLibrarySettings
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 ServerLibrarySettings
impl Debug for ServerLibrarySettings
Source§impl Default for ServerLibrarySettings
impl Default for ServerLibrarySettings
Source§fn default() -> ServerLibrarySettings
fn default() -> ServerLibrarySettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerLibrarySettings
impl<'de> Deserialize<'de> for ServerLibrarySettings
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerLibrarySettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ServerLibrarySettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ServerLibrarySettings
impl Serialize for ServerLibrarySettings
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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