pub struct StalkerChannel {
pub id: String,
pub name: String,
pub number: Option<u32>,
pub cmd: String,
pub tv_genre_id: Option<String>,
pub logo: Option<String>,
pub epg_channel_id: Option<String>,
pub has_archive: bool,
pub archive_days: u32,
pub is_censored: bool,
}Expand description
A live TV channel from the Stalker portal.
Fields§
§id: StringPortal-internal channel ID.
name: StringDisplay name.
number: Option<u32>Channel number / LCN.
cmd: StringRaw stream command (may need resolution via resolve_stream_url).
tv_genre_id: Option<String>Genre / category ID on the portal.
logo: Option<String>Channel logo URL.
epg_channel_id: Option<String>EPG channel identifier for programme matching.
has_archive: boolWhether catch-up / archive is available.
archive_days: u32Number of archive days available.
is_censored: boolWhether the channel is marked as adult / censored.
Trait Implementations§
Source§impl Clone for StalkerChannel
impl Clone for StalkerChannel
Source§fn clone(&self) -> StalkerChannel
fn clone(&self) -> StalkerChannel
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 StalkerChannel
impl Debug for StalkerChannel
Source§impl Default for StalkerChannel
impl Default for StalkerChannel
Source§fn default() -> StalkerChannel
fn default() -> StalkerChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StalkerChannel
impl<'de> Deserialize<'de> for StalkerChannel
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 StalkerChannel
impl RefUnwindSafe for StalkerChannel
impl Send for StalkerChannel
impl Sync for StalkerChannel
impl Unpin for StalkerChannel
impl UnsafeUnpin for StalkerChannel
impl UnwindSafe for StalkerChannel
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