pub struct EntryFilter {
pub min_resolution: Option<Resolution>,
pub groups: Option<Vec<String>>,
pub exclude_groups: Option<Vec<String>>,
pub name_pattern: Option<String>,
pub exclude_adult: bool,
}Expand description
Configuration for filtering playlist entries.
Fields§
§min_resolution: Option<Resolution>Minimum resolution tier (entries below this are excluded).
groups: Option<Vec<String>>Include only entries belonging to these groups.
exclude_groups: Option<Vec<String>>Exclude entries belonging to these groups.
name_pattern: Option<String>Regex pattern — only entries whose name matches are kept.
exclude_adult: boolIf true, entries with adult-content indicators are excluded.
Trait Implementations§
Source§impl Clone for EntryFilter
impl Clone for EntryFilter
Source§fn clone(&self) -> EntryFilter
fn clone(&self) -> EntryFilter
Returns a duplicate of the value. Read more
1.0.0 · 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 EntryFilter
impl Debug for EntryFilter
Source§impl Default for EntryFilter
impl Default for EntryFilter
Source§fn default() -> EntryFilter
fn default() -> EntryFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntryFilter
impl RefUnwindSafe for EntryFilter
impl Send for EntryFilter
impl Sync for EntryFilter
impl Unpin for EntryFilter
impl UnsafeUnpin for EntryFilter
impl UnwindSafe for EntryFilter
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