pub struct XtreamChannel {Show 16 fields
pub num: Option<i64>,
pub name: String,
pub stream_type: Option<String>,
pub stream_id: i64,
pub stream_icon: Option<String>,
pub thumbnail: Option<String>,
pub epg_channel_id: Option<String>,
pub added: Option<String>,
pub category_id: Option<String>,
pub category_ids: Vec<Value>,
pub custom_sid: Option<String>,
pub tv_archive: Option<i64>,
pub direct_source: Option<String>,
pub tv_archive_duration: Option<i64>,
pub is_adult: bool,
pub url: Option<String>,
}Expand description
A live TV channel from get_live_streams.
Fields§
§num: Option<i64>Position / order number.
name: StringChannel display name.
stream_type: Option<String>Stream type (e.g. “live”).
stream_id: i64Unique stream identifier.
stream_icon: Option<String>Channel logo URL.
thumbnail: Option<String>Thumbnail URL.
epg_channel_id: Option<String>EPG channel identifier.
added: Option<String>Date added (Unix timestamp string or formatted date).
category_id: Option<String>Primary category ID.
category_ids: Vec<Value>All category IDs this channel belongs to.
custom_sid: Option<String>Custom SID.
tv_archive: Option<i64>Whether TV archive is available (0 or 1).
direct_source: Option<String>Direct source URL.
tv_archive_duration: Option<i64>Days of archive available.
is_adult: boolWhether this channel is flagged as adult content by the provider.
url: Option<String>Generated stream URL (populated by the client).
Trait Implementations§
Source§impl Clone for XtreamChannel
impl Clone for XtreamChannel
Source§fn clone(&self) -> XtreamChannel
fn clone(&self) -> XtreamChannel
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 moreSource§impl Debug for XtreamChannel
impl Debug for XtreamChannel
Source§impl<'de> Deserialize<'de> for XtreamChannel
impl<'de> Deserialize<'de> for XtreamChannel
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
Auto Trait Implementations§
impl Freeze for XtreamChannel
impl RefUnwindSafe for XtreamChannel
impl Send for XtreamChannel
impl Sync for XtreamChannel
impl Unpin for XtreamChannel
impl UnsafeUnpin for XtreamChannel
impl UnwindSafe for XtreamChannel
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