pub struct SyncMaindataTorrentsResponseItem {
Show 41 fields pub added_on: Option<u64>, pub amount_left: Option<u64>, pub auto_tmm: Option<bool>, pub category: Option<String>, pub completed: Option<i64>, pub completion_on: Option<u64>, pub dl_limit: Option<i64>, pub dlspeed: Option<i64>, pub downloaded: Option<i64>, pub downloaded_session: Option<i64>, pub eta: Option<i64>, pub f_l_piece_prio: Option<bool>, pub force_start: Option<bool>, pub last_activity: Option<u64>, pub magnet_uri: Option<String>, pub max_ratio: Option<f64>, pub max_seeding_time: Option<i64>, pub name: Option<String>, pub num_complete: Option<i64>, pub num_incomplete: Option<i64>, pub num_leechs: Option<i64>, pub num_seeds: Option<i64>, pub priority: Option<i64>, pub progress: Option<f64>, pub ratio: Option<f64>, pub ratio_limit: Option<f64>, pub save_path: Option<String>, pub seeding_time_limit: Option<i64>, pub seen_complete: Option<i64>, pub seq_dl: Option<bool>, pub size: Option<i64>, pub state: Option<TorrentsInfoState>, pub super_seeding: Option<bool>, pub tags: Option<String>, pub time_active: Option<i64>, pub total_size: Option<i64>, pub tracker: Option<String>, pub up_limit: Option<i64>, pub uploaded: Option<i64>, pub uploaded_session: Option<i64>, pub upspeed: Option<i64>,
}
Expand description

/api/v2/sync/maindata

SyncMaindataTorrentsResponse::data

Note: similar to TorrentsInfoResponseItem but no hash field

Fields§

§added_on: Option<u64>§amount_left: Option<u64>§auto_tmm: Option<bool>§category: Option<String>§completed: Option<i64>§completion_on: Option<u64>§dl_limit: Option<i64>§dlspeed: Option<i64>§downloaded: Option<i64>§downloaded_session: Option<i64>§eta: Option<i64>§f_l_piece_prio: Option<bool>§force_start: Option<bool>§last_activity: Option<u64>§magnet_uri: Option<String>§max_ratio: Option<f64>§max_seeding_time: Option<i64>§name: Option<String>§num_complete: Option<i64>§num_incomplete: Option<i64>§num_leechs: Option<i64>§num_seeds: Option<i64>§priority: Option<i64>§progress: Option<f64>§ratio: Option<f64>§ratio_limit: Option<f64>§save_path: Option<String>§seeding_time_limit: Option<i64>§seen_complete: Option<i64>§seq_dl: Option<bool>§size: Option<i64>§state: Option<TorrentsInfoState>§super_seeding: Option<bool>§tags: Option<String>§time_active: Option<i64>§total_size: Option<i64>§tracker: Option<String>§up_limit: Option<i64>§uploaded: Option<i64>§uploaded_session: Option<i64>§upspeed: Option<i64>

Trait Implementations§

source§

impl Debug for SyncMaindataTorrentsResponseItem

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for SyncMaindataTorrentsResponseItem

source§

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§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,