pub struct SearchResultItem {
pub file_name: String,
pub file_url: String,
pub file_size: i64,
pub leechers: i64,
pub seeders: i64,
pub engine_name: String,
pub site_url: String,
pub descr_link: String,
pub pub_data: i64,
}Expand description
An individual item that has been found.
Fields§
§file_name: StringName of the file associated with the torrent.
file_url: StringURL for downloading the torrent, either as a .torrent file or a magnet link.
file_size: i64Size of the file in bytes.
leechers: i64Number of leechers currently downloading the torrent.
seeders: i64Number of seeders currently uploading the torrent.
engine_name: StringName of the engine that found this torrent.
site_url: StringURL of the torrent site where the file is hosted.
descr_link: StringURL pointing to the torrent’s description page on the source site.
pub_data: i64Public data associated with the torrent.
Trait Implementations§
Source§impl Clone for SearchResultItem
impl Clone for SearchResultItem
Source§impl Debug for SearchResultItem
impl Debug for SearchResultItem
Source§impl Default for SearchResultItem
impl Default for SearchResultItem
Source§impl<'de> Deserialize<'de> for SearchResultItem
impl<'de> Deserialize<'de> for SearchResultItem
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
Source§impl PartialEq for SearchResultItem
impl PartialEq for SearchResultItem
Source§impl Serialize for SearchResultItem
impl Serialize for SearchResultItem
impl StructuralPartialEq for SearchResultItem
Auto Trait Implementations§
impl Freeze for SearchResultItem
impl RefUnwindSafe for SearchResultItem
impl Send for SearchResultItem
impl Sync for SearchResultItem
impl Unpin for SearchResultItem
impl UnsafeUnpin for SearchResultItem
impl UnwindSafe for SearchResultItem
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