pub struct UserOfficial {
pub role: i32,
pub title: String,
pub desc: String,
pub type: i32,
}Expand description
认证信息
Fields§
§role: i32§title: String§desc: String§type: i32Trait Implementations§
Source§impl Clone for UserOfficial
impl Clone for UserOfficial
Source§fn clone(&self) -> UserOfficial
fn clone(&self) -> UserOfficial
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 UserOfficial
impl Debug for UserOfficial
Source§impl<'de> Deserialize<'de> for UserOfficial
impl<'de> Deserialize<'de> for UserOfficial
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 UserOfficial
impl RefUnwindSafe for UserOfficial
impl Send for UserOfficial
impl Sync for UserOfficial
impl Unpin for UserOfficial
impl UnwindSafe for UserOfficial
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