Struct torrust_index_backend::models::response::TorrentsResponse
source · pub struct TorrentsResponse {
pub total: u32,
pub results: Vec<TorrentListing>,
}
Fields§
§total: u32
§results: Vec<TorrentListing>
Trait Implementations§
source§impl Debug for TorrentsResponse
impl Debug for TorrentsResponse
source§impl<'de> Deserialize<'de> for TorrentsResponse
impl<'de> Deserialize<'de> for TorrentsResponse
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<'a, R: Row> FromRow<'a, R> for TorrentsResponsewhere
&'a str: ColumnIndex<R>,
u32: Decode<'a, R::Database> + Type<R::Database>,
Vec<TorrentListing>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for TorrentsResponsewhere &'a str: ColumnIndex<R>, u32: Decode<'a, R::Database> + Type<R::Database>, Vec<TorrentListing>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl RefUnwindSafe for TorrentsResponse
impl Send for TorrentsResponse
impl Sync for TorrentsResponse
impl Unpin for TorrentsResponse
impl UnwindSafe for TorrentsResponse
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