Struct aquatic_http_protocol::response::AnnounceResponse
source · pub struct AnnounceResponse {
pub announce_interval: usize,
pub complete: usize,
pub incomplete: usize,
pub peers: ResponsePeerListV4,
pub peers6: ResponsePeerListV6,
pub warning_message: Option<String>,
}
Fields§
§announce_interval: usize
§complete: usize
§incomplete: usize
§peers: ResponsePeerListV4
§peers6: ResponsePeerListV6
§warning_message: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for AnnounceResponse
impl Clone for AnnounceResponse
source§fn clone(&self) -> AnnounceResponse
fn clone(&self) -> AnnounceResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AnnounceResponse
impl Debug for AnnounceResponse
source§impl<'de> Deserialize<'de> for AnnounceResponse
impl<'de> Deserialize<'de> for AnnounceResponse
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 Freeze for AnnounceResponse
impl RefUnwindSafe for AnnounceResponse
impl Send for AnnounceResponse
impl Sync for AnnounceResponse
impl Unpin for AnnounceResponse
impl UnwindSafe for AnnounceResponse
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