pub struct FileUrl {
pub track_id: Option<i32>,
pub duration: Option<f64>,
pub url: Option<String>,
pub format_id: Option<i32>,
pub mime_type: Option<String>,
pub sampling_rate: Option<f64>,
pub bit_depth: Option<i32>,
pub status: Option<i32>,
pub message: Option<String>,
pub code: Option<String>,
}Expand description
Download URL for a track at a specific quality level.
Fields§
§track_id: Option<i32>Track identifier.
duration: Option<f64>Track duration in seconds.
url: Option<String>Download URL.
format_id: Option<i32>Quality format ID.
mime_type: Option<String>MIME type of the audio file.
sampling_rate: Option<f64>Sample rate in kHz.
bit_depth: Option<i32>Bit depth.
status: Option<i32>Response status code.
message: Option<String>Error message if applicable.
code: Option<String>Error code if applicable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FileUrl
impl<'de> Deserialize<'de> for FileUrl
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 FileUrl
Auto Trait Implementations§
impl Freeze for FileUrl
impl RefUnwindSafe for FileUrl
impl Send for FileUrl
impl Sync for FileUrl
impl Unpin for FileUrl
impl UnsafeUnpin for FileUrl
impl UnwindSafe for FileUrl
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more