pub struct UpUserCard {
pub avatar: String,
pub nickname: String,
}Expand description
UP主信息卡片
Fields§
§avatar: StringUP主头像url
nickname: StringUP主昵称
Trait Implementations§
Source§impl Clone for UpUserCard
impl Clone for UpUserCard
Source§fn clone(&self) -> UpUserCard
fn clone(&self) -> UpUserCard
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 UpUserCard
impl Debug for UpUserCard
Source§impl<'de> Deserialize<'de> for UpUserCard
impl<'de> Deserialize<'de> for UpUserCard
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 UpUserCard
impl RefUnwindSafe for UpUserCard
impl Send for UpUserCard
impl Sync for UpUserCard
impl Unpin for UpUserCard
impl UnsafeUnpin for UpUserCard
impl UnwindSafe for UpUserCard
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