pub struct Badge {
pub description: Option<String>,
pub id: Option<i64>,
pub image_url: Option<String>,
pub slug: Option<String>,
}
Expand description
Badge : Badge represents a user badge
Fields§
§description: Option<String>
§id: Option<i64>
§image_url: Option<String>
§slug: Option<String>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Badge
impl<'de> Deserialize<'de> for Badge
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
impl StructuralPartialEq for Badge
Auto Trait Implementations§
impl Freeze for Badge
impl RefUnwindSafe for Badge
impl Send for Badge
impl Sync for Badge
impl Unpin for Badge
impl UnwindSafe for Badge
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