pub struct SearchGroup<T = Item> {
pub kind: SearchKind,
pub items: Vec<T>,
pub people: Vec<Person>,
pub more: bool,
pub total: Option<u32>,
pub hidden: u32,
}Expand description
One kind’s results.
Fields§
§kind: SearchKind§items: Vec<T>The items, best first; empty for SearchKind::People.
people: Vec<Person>The people, for SearchKind::People only.
more: boolThere are more than are here: a kind search for this group
finds them.
total: Option<u32>How many a kind search for this group finds, for “See all 23”:
the top match and the episodes under their show (hidden)
included. For items it is the catalog’s exact count. People are
counted only when every one of them is here (more is false):
Plex lists them only up to the limit.
Episodes left out because their show is in the shows group (only
in All, where episodes are quiet), for “3 from Severance are
under the show”. A group may be here with only this.
Trait Implementations§
Source§impl<T: Clone> Clone for SearchGroup<T>
impl<T: Clone> Clone for SearchGroup<T>
Source§impl<T: Debug> Debug for SearchGroup<T>
impl<T: Debug> Debug for SearchGroup<T>
Source§impl<'de, T> Deserialize<'de> for SearchGroup<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SearchGroup<T>where
T: Deserialize<'de>,
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<T: Eq> Eq for SearchGroup<T>
Source§impl<T: PartialEq> PartialEq for SearchGroup<T>
impl<T: PartialEq> PartialEq for SearchGroup<T>
Source§impl<T> Serialize for SearchGroup<T>where
T: Serialize,
impl<T> Serialize for SearchGroup<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for SearchGroup<T>
Auto Trait Implementations§
impl<T> Freeze for SearchGroup<T>
impl<T> RefUnwindSafe for SearchGroup<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for SearchGroup<T>
impl<T> Sync for SearchGroup<T>
impl<T> Unpin for SearchGroup<T>
impl<T> UnsafeUnpin for SearchGroup<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for SearchGroup<T>where
Vec<T>: 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