Struct stremio_core::models::streaming_server::StreamingServer
source · pub struct StreamingServer {
pub selected: Selected,
pub settings: Loadable<Settings, EnvError>,
pub base_url: Option<Url>,
pub remote_url: Option<Url>,
pub playback_devices: Loadable<Vec<PlaybackDevice>, EnvError>,
pub network_info: Loadable<NetworkInfo, EnvError>,
pub device_info: Loadable<DeviceInfo, EnvError>,
pub torrent: Option<(InfoHash, Loadable<ResourcePath, EnvError>)>,
pub statistics: Option<Loadable<Statistics, EnvError>>,
}
Fields§
§selected: Selected
§settings: Loadable<Settings, EnvError>
§base_url: Option<Url>
§remote_url: Option<Url>
§playback_devices: Loadable<Vec<PlaybackDevice>, EnvError>
§network_info: Loadable<NetworkInfo, EnvError>
§device_info: Loadable<DeviceInfo, EnvError>
§torrent: Option<(InfoHash, Loadable<ResourcePath, EnvError>)>
§statistics: Option<Loadable<Statistics, EnvError>>
Loadable::Loading
is used only on the first statistics request.
Implementations§
Trait Implementations§
source§impl Clone for StreamingServer
impl Clone for StreamingServer
source§fn clone(&self) -> StreamingServer
fn clone(&self) -> StreamingServer
Returns a copy 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 StreamingServer
impl Debug for StreamingServer
source§impl Serialize for StreamingServer
impl Serialize for StreamingServer
Auto Trait Implementations§
impl Freeze for StreamingServer
impl RefUnwindSafe for StreamingServer
impl Send for StreamingServer
impl Sync for StreamingServer
impl Unpin for StreamingServer
impl UnwindSafe for StreamingServer
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)