Struct stremio_core::models::player::VideoParams
source · pub struct VideoParams {
pub hash: Option<String>,
pub size: Option<u64>,
pub filename: Option<String>,
}
Fields§
§hash: Option<String>
Opensubtitles hash usually retrieved from a streaming server endpoint.
It’s used for requesting subtitles from Opensubtitles.
size: Option<u64>
§filename: Option<String>
Trait Implementations§
source§impl Clone for VideoParams
impl Clone for VideoParams
source§fn clone(&self) -> VideoParams
fn clone(&self) -> VideoParams
Returns a copy 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 VideoParams
impl Debug for VideoParams
source§impl<'de> Deserialize<'de> for VideoParams
impl<'de> Deserialize<'de> for VideoParams
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 VideoParams
impl PartialEq for VideoParams
source§impl Serialize for VideoParams
impl Serialize for VideoParams
impl Eq for VideoParams
impl StructuralPartialEq for VideoParams
Auto Trait Implementations§
impl Freeze for VideoParams
impl RefUnwindSafe for VideoParams
impl Send for VideoParams
impl Sync for VideoParams
impl Unpin for VideoParams
impl UnwindSafe for VideoParams
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)