pub struct TidalSession {
pub auth: TidalAuth,
pub locale: String,
pub time_offset: String,
pub audio_quality: AudioQuality,
pub playback_mode: PlaybackMode,
}Expand description
Contains session configuration for a Tidal client
Fields§
§auth: TidalAuth§locale: String§time_offset: String§audio_quality: AudioQuality§playback_mode: PlaybackModeTrait Implementations§
Source§impl Clone for TidalSession
impl Clone for TidalSession
Source§fn clone(&self) -> TidalSession
fn clone(&self) -> TidalSession
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 TidalSession
impl Debug for TidalSession
Source§impl<'de> Deserialize<'de> for TidalSession
impl<'de> Deserialize<'de> for TidalSession
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 TidalSession
impl !RefUnwindSafe for TidalSession
impl Send for TidalSession
impl Sync for TidalSession
impl Unpin for TidalSession
impl UnsafeUnpin for TidalSession
impl !UnwindSafe for TidalSession
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