pub struct AnimeTitleMatch {
pub provider: MatchProvider,
pub canonical_title: String,
pub matched_title: String,
pub score: f32,
pub ids: AnimeIds,
pub titles: Vec<String>,
}Expand description
The best-scoring match for a query title.
Fields§
§provider: MatchProviderWhich backend produced this result.
canonical_title: StringCanonical title chosen for the anime.
matched_title: StringThe specific alias that scored highest for the query.
score: f32Similarity score in the range [0.0, 1.0].
ids: AnimeIdsKnown IDs for the matched anime.
titles: Vec<String>Known aliases for the anime, canonical title first.
Trait Implementations§
Source§impl Clone for AnimeTitleMatch
impl Clone for AnimeTitleMatch
Source§fn clone(&self) -> AnimeTitleMatch
fn clone(&self) -> AnimeTitleMatch
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 AnimeTitleMatch
impl Debug for AnimeTitleMatch
Source§impl<'de> Deserialize<'de> for AnimeTitleMatch
impl<'de> Deserialize<'de> for AnimeTitleMatch
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimeTitleMatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AnimeTitleMatch, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnimeTitleMatch
impl PartialEq for AnimeTitleMatch
Source§impl Serialize for AnimeTitleMatch
impl Serialize for AnimeTitleMatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for AnimeTitleMatch
Auto Trait Implementations§
impl Freeze for AnimeTitleMatch
impl RefUnwindSafe for AnimeTitleMatch
impl Send for AnimeTitleMatch
impl Sync for AnimeTitleMatch
impl Unpin for AnimeTitleMatch
impl UnsafeUnpin for AnimeTitleMatch
impl UnwindSafe for AnimeTitleMatch
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