pub enum FinderTarget {
Media,
Posts {
categories_exclude: Vec<u16>,
tags_exclude: Vec<u16>,
},
}
Expand description
Represents the target type for the Finder
.
This enum is used to specify whether the Finder
should target media or posts.
The Posts
variant includes fields to exclude specific categories and tags.
Variants§
Trait Implementations§
source§impl Default for FinderTarget
impl Default for FinderTarget
source§fn default() -> FinderTarget
fn default() -> FinderTarget
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FinderTarget
impl RefUnwindSafe for FinderTarget
impl Send for FinderTarget
impl Sync for FinderTarget
impl Unpin for FinderTarget
impl UnwindSafe for FinderTarget
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