pub struct YouTubeStreamData {
pub video_id: String,
pub title: String,
pub author: String,
pub length_seconds: u64,
pub video_url: Option<String>,
pub audio_url: Option<String>,
pub thumbnail_url: Option<String>,
}Expand description
YouTube ストリーミングおよび動画メタデータ
Fields§
§video_id: String§title: String§length_seconds: u64§video_url: Option<String>§audio_url: Option<String>§thumbnail_url: Option<String>Trait Implementations§
Source§impl Clone for YouTubeStreamData
impl Clone for YouTubeStreamData
Source§impl Debug for YouTubeStreamData
impl Debug for YouTubeStreamData
impl Eq for YouTubeStreamData
Source§impl PartialEq for YouTubeStreamData
impl PartialEq for YouTubeStreamData
impl StructuralPartialEq for YouTubeStreamData
Auto Trait Implementations§
impl Freeze for YouTubeStreamData
impl RefUnwindSafe for YouTubeStreamData
impl Send for YouTubeStreamData
impl Sync for YouTubeStreamData
impl Unpin for YouTubeStreamData
impl UnsafeUnpin for YouTubeStreamData
impl UnwindSafe for YouTubeStreamData
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.