pub struct Item {
pub link: String,
pub similarity: f32,
}
Expand description
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: f32
A similarity, usually as 92.4
or whatever the case may be.
§Notes
A negative value means that a similarity could not be parsed.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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