pub struct DelayProfileResource {
pub id: Option<i32>,
pub enable_usenet: Option<bool>,
pub enable_torrent: Option<bool>,
pub preferred_protocol: Option<DownloadProtocol>,
pub usenet_delay: Option<i32>,
pub torrent_delay: Option<i32>,
pub bypass_if_highest_quality: Option<bool>,
pub bypass_if_above_custom_format_score: Option<bool>,
pub minimum_custom_format_score: Option<i32>,
pub order: Option<i32>,
pub tags: Option<Option<Vec<i32>>>,
}
Fields§
§id: Option<i32>
§enable_usenet: Option<bool>
§enable_torrent: Option<bool>
§preferred_protocol: Option<DownloadProtocol>
§usenet_delay: Option<i32>
§torrent_delay: Option<i32>
§bypass_if_highest_quality: Option<bool>
§bypass_if_above_custom_format_score: Option<bool>
§minimum_custom_format_score: Option<i32>
§order: Option<i32>
Implementations§
Source§impl DelayProfileResource
impl DelayProfileResource
pub fn new() -> DelayProfileResource
Trait Implementations§
Source§impl Clone for DelayProfileResource
impl Clone for DelayProfileResource
Source§fn clone(&self) -> DelayProfileResource
fn clone(&self) -> DelayProfileResource
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 DelayProfileResource
impl Debug for DelayProfileResource
Source§impl<'de> Deserialize<'de> for DelayProfileResource
impl<'de> Deserialize<'de> for DelayProfileResource
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 DelayProfileResource
impl PartialEq for DelayProfileResource
Source§impl Serialize for DelayProfileResource
impl Serialize for DelayProfileResource
impl StructuralPartialEq for DelayProfileResource
Auto Trait Implementations§
impl Freeze for DelayProfileResource
impl RefUnwindSafe for DelayProfileResource
impl Send for DelayProfileResource
impl Sync for DelayProfileResource
impl Unpin for DelayProfileResource
impl UnwindSafe for DelayProfileResource
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