pub struct DownloadClientResource {Show 15 fields
pub id: Option<i32>,
pub name: Option<Option<String>>,
pub fields: Option<Option<Vec<Field>>>,
pub implementation_name: Option<Option<String>>,
pub implementation: Option<Option<String>>,
pub config_contract: Option<Option<String>>,
pub info_link: Option<Option<String>>,
pub message: Option<Box<ProviderMessage>>,
pub tags: Option<Option<Vec<i32>>>,
pub presets: Option<Option<Vec<DownloadClientResource>>>,
pub enable: Option<bool>,
pub protocol: Option<DownloadProtocol>,
pub priority: Option<i32>,
pub remove_completed_downloads: Option<bool>,
pub remove_failed_downloads: Option<bool>,
}
Fields§
§id: Option<i32>
§name: Option<Option<String>>
§fields: Option<Option<Vec<Field>>>
§implementation_name: Option<Option<String>>
§implementation: Option<Option<String>>
§config_contract: Option<Option<String>>
§info_link: Option<Option<String>>
§message: Option<Box<ProviderMessage>>
§presets: Option<Option<Vec<DownloadClientResource>>>
§enable: Option<bool>
§protocol: Option<DownloadProtocol>
§priority: Option<i32>
§remove_completed_downloads: Option<bool>
§remove_failed_downloads: Option<bool>
Implementations§
Source§impl DownloadClientResource
impl DownloadClientResource
pub fn new() -> DownloadClientResource
Trait Implementations§
Source§impl Clone for DownloadClientResource
impl Clone for DownloadClientResource
Source§fn clone(&self) -> DownloadClientResource
fn clone(&self) -> DownloadClientResource
Returns a duplicate 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 DownloadClientResource
impl Debug for DownloadClientResource
Source§impl Default for DownloadClientResource
impl Default for DownloadClientResource
Source§fn default() -> DownloadClientResource
fn default() -> DownloadClientResource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DownloadClientResource
impl<'de> Deserialize<'de> for DownloadClientResource
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 DownloadClientResource
impl PartialEq for DownloadClientResource
Source§impl Serialize for DownloadClientResource
impl Serialize for DownloadClientResource
impl StructuralPartialEq for DownloadClientResource
Auto Trait Implementations§
impl Freeze for DownloadClientResource
impl RefUnwindSafe for DownloadClientResource
impl Send for DownloadClientResource
impl Sync for DownloadClientResource
impl Unpin for DownloadClientResource
impl UnwindSafe for DownloadClientResource
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