pub struct Stream {
pub radio_id: Option<i64>,
pub url: Option<String>,
pub stream_running: bool,
pub longpoll_category: Option<String>,
pub extras: HashMap<String, Value>,
}Expand description
One row in the streams list.
Fields§
§radio_id: Option<i64>Caller-chosen integer ID for the stream.
url: Option<String>Source URL the stream is reading from.
stream_running: boolWhether AudD is currently consuming and recognizing the stream.
longpoll_category: Option<String>Server-generated longpoll category for sharing with browser/widget consumers.
extras: HashMap<String, Value>Forward-compat.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
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 Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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