pub struct ServerLibrarySettingsPatch {
pub face_threshold: Option<Option<f32>>,
pub ignore_groups: Option<Option<bool>>,
pub preduction_model: Option<Option<String>>,
pub embeddings: Option<Option<bool>>,
pub embeddings_paused: Option<Option<bool>>,
pub map_progress: Option<Option<Vec<UserMapping>>>,
pub data_path: Option<Option<String>>,
pub epg_url: Option<Option<String>>,
pub max_streams: Option<Option<u32>>,
}Expand description
Change to the settings of a library, read as a JSON Merge Patch (RFC 7396): a
setting that is absent is kept, null clears it and a value replaces it.
An unknown setting is refused instead of being dropped silently.
Fields§
§face_threshold: Option<Option<f32>>§ignore_groups: Option<Option<bool>>§preduction_model: Option<Option<String>>§embeddings: Option<Option<bool>>§embeddings_paused: Option<Option<bool>>Owned by the server: only the pause and resume endpoints change it. What a client sends is read and dropped, so it can send back the settings it got.
map_progress: Option<Option<Vec<UserMapping>>>§data_path: Option<Option<String>>§epg_url: Option<Option<String>>§max_streams: Option<Option<u32>>Implementations§
Trait Implementations§
Source§impl Clone for ServerLibrarySettingsPatch
impl Clone for ServerLibrarySettingsPatch
Source§impl Debug for ServerLibrarySettingsPatch
impl Debug for ServerLibrarySettingsPatch
Source§impl Default for ServerLibrarySettingsPatch
impl Default for ServerLibrarySettingsPatch
Source§impl<'de> Deserialize<'de> for ServerLibrarySettingsPatch
impl<'de> Deserialize<'de> for ServerLibrarySettingsPatch
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 ServerLibrarySettingsPatch
impl Freeze for ServerLibrarySettingsPatch
impl Move for ServerLibrarySettingsPatch
impl RefUnwindSafe for ServerLibrarySettingsPatch
impl Send for ServerLibrarySettingsPatchwhere
RawVecInner: Send,
impl Sync for ServerLibrarySettingsPatchwhere
RawVecInner: Sync,
impl Unpin for ServerLibrarySettingsPatch
impl UnsafeUnpin for ServerLibrarySettingsPatchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<UserMapping>: UnsafeUnpin,
impl UnwindSafe for ServerLibrarySettingsPatchwhere
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