pub struct SmallUser {
pub id: u32,
pub username: String,
pub display_name: Option<String>,
pub url: Url,
pub cover_url: Option<Url>,
}Expand description
Some details about a User on itch.io.
Fields§
§id: u32§username: String§display_name: Option<String>§url: Url§cover_url: Option<Url>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SmallUser
impl<'de> Deserialize<'de> for SmallUser
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 SmallUser
impl RefUnwindSafe for SmallUser
impl Send for SmallUser
impl Sync for SmallUser
impl Unpin for SmallUser
impl UnwindSafe for SmallUser
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