Struct sauce_api::SauceItem[][src]

pub struct SauceItem {
    pub link: String,
    pub similarity: f64,
}

An individual item from the results gotten

Fields

link: String

Link to the item. Note: this is not always a direct link to the image, but to a site such as pixiv or danbooru.

similarity: f64

A similarity, usually as 92.4 or whatever the case may be.

Notes

A negative similarity value means similarity is unavailable or could not be retrieved.

Trait Implementations

impl Clone for SauceItem[src]

impl Debug for SauceItem[src]

impl Default for SauceItem[src]

impl PartialEq<SauceItem> for SauceItem[src]

impl PartialOrd<SauceItem> for SauceItem[src]

impl StructuralPartialEq for SauceItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.