pub struct Webcast {
pub type: RHashType,
pub channel: String,
pub date: Option<String>,
pub file: Option<String>,
}
Fields§
§type: RHashType
Type of webcast, typically descriptive of the streaming provider.
channel: String
Type specific channel information. May be the YouTube stream, or Twitch channel name. In the case of iframe types, contains HTML to embed the stream in an HTML iframe.
date: Option<String>
The date for the webcast in yyyy-mm-dd
format. May be null.
file: Option<String>
File identification as may be required for some types. May be null.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Webcast
impl<'de> Deserialize<'de> for Webcast
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
impl StructuralPartialEq for Webcast
Auto Trait Implementations§
impl Freeze for Webcast
impl RefUnwindSafe for Webcast
impl Send for Webcast
impl Sync for Webcast
impl Unpin for Webcast
impl UnwindSafe for Webcast
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