pub struct SubtitleSearch {
pub languages: Vec<String>,
pub results: Vec<SubtitleResult>,
pub sources: Vec<SubtitleSourceStatus>,
}Expand description
What a subtitle search found for an item, best first: hash matches, then the rest by rating and downloads; machine-translated and AI-made after people’s; rejected ones last. Every site the server searches is asked at once, and their results are one list.
Fields§
§languages: Vec<String>The languages searched.
results: Vec<SubtitleResult>§sources: Vec<SubtitleSourceStatus>How each site’s search went, in the order the server asks them: one that failed or is out of quota leaves the others’ results.
Trait Implementations§
Source§impl Clone for SubtitleSearch
impl Clone for SubtitleSearch
Source§impl Debug for SubtitleSearch
impl Debug for SubtitleSearch
Source§impl<'de> Deserialize<'de> for SubtitleSearch
impl<'de> Deserialize<'de> for SubtitleSearch
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 SubtitleSearch
Source§impl PartialEq for SubtitleSearch
impl PartialEq for SubtitleSearch
Source§impl Serialize for SubtitleSearch
impl Serialize for SubtitleSearch
impl StructuralPartialEq for SubtitleSearch
Auto Trait Implementations§
impl Forget for SubtitleSearch
impl Freeze for SubtitleSearch
impl Move for SubtitleSearch
impl RefUnwindSafe for SubtitleSearch
impl Send for SubtitleSearch
impl Sync for SubtitleSearch
impl Unpin for SubtitleSearch
impl UnsafeUnpin for SubtitleSearch
impl UnwindSafe for SubtitleSearch
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