pub enum WatchedPolicy {
AnyParticipant,
AllParticipants,
IncludeAll,
}Expand description
How a recommendation treats watched titles across its selected participants.
Variants§
AnyParticipant
Exclude a title if any selected participant watched it.
AllParticipants
Exclude a title only if every selected participant watched it.
IncludeAll
Do not exclude watched titles.
Trait Implementations§
Source§impl Clone for WatchedPolicy
impl Clone for WatchedPolicy
impl Copy for WatchedPolicy
Source§impl Debug for WatchedPolicy
impl Debug for WatchedPolicy
Source§impl Default for WatchedPolicy
impl Default for WatchedPolicy
Source§impl<'de> Deserialize<'de> for WatchedPolicy
impl<'de> Deserialize<'de> for WatchedPolicy
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
impl Eq for WatchedPolicy
Source§impl PartialEq for WatchedPolicy
impl PartialEq for WatchedPolicy
Source§impl Serialize for WatchedPolicy
impl Serialize for WatchedPolicy
impl StructuralPartialEq for WatchedPolicy
Auto Trait Implementations§
impl Freeze for WatchedPolicy
impl RefUnwindSafe for WatchedPolicy
impl Send for WatchedPolicy
impl Sync for WatchedPolicy
impl Unpin for WatchedPolicy
impl UnsafeUnpin for WatchedPolicy
impl UnwindSafe for WatchedPolicy
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.