pub struct FavoriteData {
pub prompt: bool,
pub ga_data: Option<Value>,
pub toast_msg: Option<String>,
pub success_num: u32,
}Expand description
收藏视频 - 响应结构体
Fields§
§prompt: bool是否为未关注用户收藏
ga_data: Option<Value>作用不明确
toast_msg: Option<String>提示消息
success_num: u32成功数
Trait Implementations§
Source§impl Clone for FavoriteData
impl Clone for FavoriteData
Source§fn clone(&self) -> FavoriteData
fn clone(&self) -> FavoriteData
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 FavoriteData
impl Debug for FavoriteData
Source§impl<'de> Deserialize<'de> for FavoriteData
impl<'de> Deserialize<'de> for FavoriteData
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 FavoriteData
impl RefUnwindSafe for FavoriteData
impl Send for FavoriteData
impl Sync for FavoriteData
impl Unpin for FavoriteData
impl UnsafeUnpin for FavoriteData
impl UnwindSafe for FavoriteData
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