Struct torrust_index_backend::models::response::NewTorrentResponse
source · pub struct NewTorrentResponse {
pub torrent_id: i64,
pub info_hash: String,
}
Fields§
§torrent_id: i64
§info_hash: String
Trait Implementations§
source§impl Debug for NewTorrentResponse
impl Debug for NewTorrentResponse
source§impl<'de> Deserialize<'de> for NewTorrentResponse
impl<'de> Deserialize<'de> for NewTorrentResponse
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
Auto Trait Implementations§
impl RefUnwindSafe for NewTorrentResponse
impl Send for NewTorrentResponse
impl Sync for NewTorrentResponse
impl Unpin for NewTorrentResponse
impl UnwindSafe for NewTorrentResponse
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