pub struct SubtitleResult {
pub content: String,
pub format: SubtitleType,
pub language: String,
pub track_type: SubtitleTrackType,
}
Expand description
Result of a subtitle download operation
Fields§
§content: String
§format: SubtitleType
§language: String
§track_type: SubtitleTrackType
Implementations§
Source§impl SubtitleResult
impl SubtitleResult
pub fn new( content: String, format: SubtitleType, language: String, track_type: SubtitleTrackType, ) -> Self
Trait Implementations§
Source§impl Clone for SubtitleResult
impl Clone for SubtitleResult
Source§fn clone(&self) -> SubtitleResult
fn clone(&self) -> SubtitleResult
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 moreAuto Trait Implementations§
impl Freeze for SubtitleResult
impl RefUnwindSafe for SubtitleResult
impl Send for SubtitleResult
impl Sync for SubtitleResult
impl Unpin for SubtitleResult
impl UnwindSafe for SubtitleResult
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