pub struct MediaUrl {
pub url: String,
pub content_type: String,
pub delivery: String,
pub encoding: String,
}Expand description
One audio asset from a clip’s top-level media_urls list.
Suno lists each downloadable rendition (an mp3, and usually an
m4a-opus) with its content_type, delivery mode, and an optional
encoding version (only the m4a-opus carries one). Every field defaults to
empty when absent, so a reshaped or partial entry degrades rather than
fails.
Fields§
§url: String§content_type: String§delivery: String§encoding: StringTrait Implementations§
impl StructuralPartialEq for MediaUrl
Auto Trait Implementations§
impl Freeze for MediaUrl
impl RefUnwindSafe for MediaUrl
impl Send for MediaUrl
impl Sync for MediaUrl
impl Unpin for MediaUrl
impl UnsafeUnpin for MediaUrl
impl UnwindSafe for MediaUrl
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