Struct rustube::PlayerResponse
source · [−]pub struct PlayerResponse {
pub assets: Option<Assets>,
pub microformat: Option<Microformat>,
pub playability_status: PlayabilityStatus,
pub streaming_data: Option<StreamingData>,
pub video_details: Arc<VideoDetails>,
pub tracking_params: String,
}
Fields
assets: Option<Assets>
microformat: Option<Microformat>
playability_status: PlayabilityStatus
streaming_data: Option<StreamingData>
video_details: Arc<VideoDetails>
tracking_params: String
Trait Implementations
sourceimpl Clone for PlayerResponse
impl Clone for PlayerResponse
sourcefn clone(&self) -> PlayerResponse
fn clone(&self) -> PlayerResponse
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PlayerResponse
impl Debug for PlayerResponse
sourceimpl<'de> Deserialize<'de> for PlayerResponse
impl<'de> Deserialize<'de> for PlayerResponse
sourcefn 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
sourceimpl PartialEq<PlayerResponse> for PlayerResponse
impl PartialEq<PlayerResponse> for PlayerResponse
sourcefn eq(&self, other: &PlayerResponse) -> bool
fn eq(&self, other: &PlayerResponse) -> bool
sourceimpl Serialize for PlayerResponse
impl Serialize for PlayerResponse
impl StructuralPartialEq for PlayerResponse
Auto Trait Implementations
impl RefUnwindSafe for PlayerResponse
impl Send for PlayerResponse
impl Sync for PlayerResponse
impl Unpin for PlayerResponse
impl UnwindSafe for PlayerResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more