Struct aria2_ws::response::BittorrentStatus
source · pub struct BittorrentStatus {
pub announce_list: Vec<Vec<String>>,
pub comment: Option<String>,
pub creation_date: Option<DateTime<Utc>>,
pub mode: Option<BitTorrentFileMode>,
}
Fields§
§announce_list: Vec<Vec<String>>
§comment: Option<String>
§creation_date: Option<DateTime<Utc>>
§mode: Option<BitTorrentFileMode>
Trait Implementations§
source§impl Clone for BittorrentStatus
impl Clone for BittorrentStatus
source§fn clone(&self) -> BittorrentStatus
fn clone(&self) -> BittorrentStatus
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 BittorrentStatus
impl Debug for BittorrentStatus
source§impl<'de> Deserialize<'de> for BittorrentStatus
impl<'de> Deserialize<'de> for BittorrentStatus
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 BittorrentStatus
impl PartialEq for BittorrentStatus
source§fn eq(&self, other: &BittorrentStatus) -> bool
fn eq(&self, other: &BittorrentStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BittorrentStatus
impl Serialize for BittorrentStatus
impl Eq for BittorrentStatus
impl StructuralPartialEq for BittorrentStatus
Auto Trait Implementations§
impl Freeze for BittorrentStatus
impl RefUnwindSafe for BittorrentStatus
impl Send for BittorrentStatus
impl Sync for BittorrentStatus
impl Unpin for BittorrentStatus
impl UnwindSafe for BittorrentStatus
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