Struct qbit_api_rs::types::SyncTorrentPeersResponse
source · pub struct SyncTorrentPeersResponse {
pub full_update: bool,
pub peers: HashMap<String, SyncTorrentPeer>,
}
Expand description
/api/v2/sync/torrentPeers
Note
: The response’s format remains TODO status in docs
Fields§
§full_update: bool
§peers: HashMap<String, SyncTorrentPeer>
Trait Implementations§
source§impl Debug for SyncTorrentPeersResponse
impl Debug for SyncTorrentPeersResponse
source§impl Default for SyncTorrentPeersResponse
impl Default for SyncTorrentPeersResponse
source§fn default() -> SyncTorrentPeersResponse
fn default() -> SyncTorrentPeersResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SyncTorrentPeersResponse
impl<'de> Deserialize<'de> for SyncTorrentPeersResponse
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<SyncTorrentPeersResponse> for SyncTorrentPeersResponse
impl PartialEq<SyncTorrentPeersResponse> for SyncTorrentPeersResponse
source§fn eq(&self, other: &SyncTorrentPeersResponse) -> bool
fn eq(&self, other: &SyncTorrentPeersResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SyncTorrentPeersResponse
Auto Trait Implementations§
impl RefUnwindSafe for SyncTorrentPeersResponse
impl Send for SyncTorrentPeersResponse
impl Sync for SyncTorrentPeersResponse
impl Unpin for SyncTorrentPeersResponse
impl UnwindSafe for SyncTorrentPeersResponse
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