pub struct SubtitleDownloaded {
pub track: u32,
pub subtitle: SubtitleTrack,
pub account_remaining: Option<u32>,
pub user_remaining: Option<u32>,
}Expand description
A subtitle downloaded (PX-02): the item’s new track, at once, and the downloads left today.
Fields§
§track: u32Its place in the item’s Tracks’ subtitles.
subtitle: SubtitleTrack§account_remaining: Option<u32>The server’s account’s downloads left today, when the site says.
user_remaining: Option<u32>The user’s own, when the admin set a limit per user.
Trait Implementations§
Source§impl Clone for SubtitleDownloaded
impl Clone for SubtitleDownloaded
Source§impl Debug for SubtitleDownloaded
impl Debug for SubtitleDownloaded
Source§impl<'de> Deserialize<'de> for SubtitleDownloaded
impl<'de> Deserialize<'de> for SubtitleDownloaded
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
impl Eq for SubtitleDownloaded
Source§impl PartialEq for SubtitleDownloaded
impl PartialEq for SubtitleDownloaded
Source§impl Serialize for SubtitleDownloaded
impl Serialize for SubtitleDownloaded
impl StructuralPartialEq for SubtitleDownloaded
Auto Trait Implementations§
impl Freeze for SubtitleDownloaded
impl RefUnwindSafe for SubtitleDownloaded
impl Send for SubtitleDownloaded
impl Sync for SubtitleDownloaded
impl Unpin for SubtitleDownloaded
impl UnsafeUnpin for SubtitleDownloaded
impl UnwindSafe for SubtitleDownloaded
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