pub struct ResumePoint {
pub fully_played: bool,
pub resume_position_ms: u32,
}Expand description
The user’s latest position in a chapter or episode.
Fields§
§fully_played: boolWhether or not the chapter or episode has fully been played by the user.
resume_position_ms: u32The user’s latest position in miliseconds.
Trait Implementations§
Source§impl Clone for ResumePoint
impl Clone for ResumePoint
Source§fn clone(&self) -> ResumePoint
fn clone(&self) -> ResumePoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResumePoint
impl Debug for ResumePoint
Source§impl<'de> Deserialize<'de> for ResumePoint
impl<'de> Deserialize<'de> for ResumePoint
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 ResumePoint
impl PartialEq for ResumePoint
Source§fn eq(&self, other: &ResumePoint) -> bool
fn eq(&self, other: &ResumePoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResumePoint
Auto Trait Implementations§
impl Freeze for ResumePoint
impl RefUnwindSafe for ResumePoint
impl Send for ResumePoint
impl Sync for ResumePoint
impl Unpin for ResumePoint
impl UnsafeUnpin for ResumePoint
impl UnwindSafe for ResumePoint
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