struct JellyfinMediaSource {
id: String,
name: String,
container: Option<String>,
size: Option<i64>,
bitrate: Option<i32>,
supports_direct_play: bool,
supports_direct_stream: bool,
supports_transcoding: bool,
direct_stream_url: Option<String>,
}Fields§
§id: String§name: String§container: Option<String>§size: Option<i64>§bitrate: Option<i32>§supports_direct_play: bool§supports_direct_stream: bool§supports_transcoding: bool§direct_stream_url: Option<String>Trait Implementations§
Source§impl Clone for JellyfinMediaSource
impl Clone for JellyfinMediaSource
Source§fn clone(&self) -> JellyfinMediaSource
fn clone(&self) -> JellyfinMediaSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 JellyfinMediaSource
impl Debug for JellyfinMediaSource
Source§impl<'de> Deserialize<'de> for JellyfinMediaSource
impl<'de> Deserialize<'de> for JellyfinMediaSource
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 JellyfinMediaSource
impl RefUnwindSafe for JellyfinMediaSource
impl Send for JellyfinMediaSource
impl Sync for JellyfinMediaSource
impl Unpin for JellyfinMediaSource
impl UnsafeUnpin for JellyfinMediaSource
impl UnwindSafe for JellyfinMediaSource
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