pub struct ClientInfo {
pub name: String,
pub platform: String,
pub max_audio_bitrate: Option<i32>,
pub max_transcoding_audio_bitrate: Option<i32>,
pub direct_play_profiles: Vec<DirectPlayProfile>,
pub transcoding_profiles: Vec<TranscodingProfile>,
pub codec_profiles: Vec<CodecProfile>,
}Expand description
Client info for transcode decision request.
Fields§
§name: StringClient name.
platform: StringClient platform.
max_audio_bitrate: Option<i32>Max audio bitrate.
max_transcoding_audio_bitrate: Option<i32>Max transcoding audio bitrate.
direct_play_profiles: Vec<DirectPlayProfile>Direct play profiles.
transcoding_profiles: Vec<TranscodingProfile>Transcoding profiles.
codec_profiles: Vec<CodecProfile>Codec profiles.
Trait Implementations§
Source§impl Clone for ClientInfo
impl Clone for ClientInfo
Source§fn clone(&self) -> ClientInfo
fn clone(&self) -> ClientInfo
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 ClientInfo
impl Debug for ClientInfo
Source§impl<'de> Deserialize<'de> for ClientInfo
impl<'de> Deserialize<'de> for ClientInfo
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
Source§impl PartialEq for ClientInfo
impl PartialEq for ClientInfo
Source§impl Serialize for ClientInfo
impl Serialize for ClientInfo
impl StructuralPartialEq for ClientInfo
Auto Trait Implementations§
impl Freeze for ClientInfo
impl RefUnwindSafe for ClientInfo
impl Send for ClientInfo
impl Sync for ClientInfo
impl Unpin for ClientInfo
impl UnsafeUnpin for ClientInfo
impl UnwindSafe for ClientInfo
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