Struct transmission_client::Session [−][src]
pub struct Session {}Show fields
pub alt_speed_down: i64, pub alt_speed_enabled: bool, pub alt_speed_time_begin: i64, pub alt_speed_time_day: i64, pub alt_speed_time_enabled: bool, pub alt_speed_time_end: i64, pub alt_speed_up: i64, pub blocklist_enabled: bool, pub blocklist_size: i64, pub blocklist_url: Url, pub cache_size_mb: i64, pub config_dir: String, pub dht_enabled: bool, pub download_dir: String, pub download_queue_enabled: bool, pub download_queue_size: i64, pub encryption: String, pub idle_seeding_limit: i64, pub idle_seeding_limit_enabled: bool, pub incomplete_dir: String, pub incomplete_dir_enabled: bool, pub lpd_enabled: bool, pub peer_limit_global: i64, pub peer_limit_per_torrent: i64, pub peer_port: i64, pub peer_port_random_on_start: bool, pub pex_enabled: bool, pub port_forwarding_enabled: bool, pub queue_stalled_enabled: bool, pub queue_stalled_minutes: i64, pub rename_partial_files: bool, pub rpc_version: i64, pub rpc_version_minimum: i64, pub script_torrent_done_enabled: bool, pub script_torrent_done_filename: String, pub seed_queue_enabled: bool, pub seed_queue_size: i64, pub seed_ratio_limit: i64, pub seed_ratio_limited: bool, pub session_id: String, pub speed_limit_down: i64, pub speed_limit_down_enabled: bool, pub speed_limit_up: i64, pub speed_limit_up_enabled: bool, pub start_added_torrents: bool, pub trash_original_torrent_files: bool, pub utp_enabled: bool, pub version: String,
Fields
alt_speed_down: i64
alt_speed_enabled: bool
alt_speed_time_begin: i64
alt_speed_time_day: i64
alt_speed_time_enabled: bool
alt_speed_time_end: i64
alt_speed_up: i64
blocklist_enabled: bool
blocklist_size: i64
blocklist_url: Url
cache_size_mb: i64
config_dir: String
dht_enabled: bool
download_dir: String
download_queue_enabled: bool
download_queue_size: i64
encryption: String
idle_seeding_limit: i64
idle_seeding_limit_enabled: bool
incomplete_dir: String
incomplete_dir_enabled: bool
lpd_enabled: bool
peer_limit_global: i64
peer_limit_per_torrent: i64
peer_port: i64
peer_port_random_on_start: bool
pex_enabled: bool
port_forwarding_enabled: bool
queue_stalled_enabled: bool
queue_stalled_minutes: i64
rename_partial_files: bool
rpc_version: i64
rpc_version_minimum: i64
script_torrent_done_enabled: bool
script_torrent_done_filename: String
seed_queue_enabled: bool
seed_queue_size: i64
seed_ratio_limit: i64
seed_ratio_limited: bool
session_id: String
speed_limit_down: i64
speed_limit_down_enabled: bool
speed_limit_up: i64
speed_limit_up_enabled: bool
start_added_torrents: bool
trash_original_torrent_files: bool
utp_enabled: bool
version: String
Trait Implementations
impl Debug for Session
[src]
impl<'de> Deserialize<'de> for Session
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnwindSafe for Session
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,