pub struct SupportFormat {
pub display_desc: String,
pub format: String,
pub description: String,
pub quality: u32,
pub new_description: String,
pub superscript: String,
pub codecs: Vec<String>,
pub attribute: Option<u32>,
pub has_preview: Option<bool>,
pub sub_description: Option<String>,
pub need_login: Option<bool>,
pub need_vip: Option<bool>,
}Fields§
§display_desc: String§format: String§description: String§quality: u32§new_description: String§superscript: String§codecs: Vec<String>§attribute: Option<u32>§has_preview: Option<bool>§sub_description: Option<String>§need_login: Option<bool>§need_vip: Option<bool>Trait Implementations§
Source§impl Clone for SupportFormat
impl Clone for SupportFormat
Source§fn clone(&self) -> SupportFormat
fn clone(&self) -> SupportFormat
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 SupportFormat
impl Debug for SupportFormat
Source§impl<'de> Deserialize<'de> for SupportFormat
impl<'de> Deserialize<'de> for SupportFormat
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 SupportFormat
impl RefUnwindSafe for SupportFormat
impl Send for SupportFormat
impl Sync for SupportFormat
impl Unpin for SupportFormat
impl UnsafeUnpin for SupportFormat
impl UnwindSafe for SupportFormat
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