pub struct Contributor {
pub id: Uuid,
pub username: String,
pub avatar: Option<String>,
pub created: DateTime<Utc>,
pub score: i32,
}
Fields§
§id: Uuid
§username: String
§avatar: Option<String>
§created: DateTime<Utc>
§score: i32
Trait Implementations§
Source§impl Clone for Contributor
impl Clone for Contributor
Source§fn clone(&self) -> Contributor
fn clone(&self) -> Contributor
Returns a copy 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 Contributor
impl Debug for Contributor
Source§impl<'de> Deserialize<'de> for Contributor
impl<'de> Deserialize<'de> for Contributor
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
Source§impl PartialEq for Contributor
impl PartialEq for Contributor
Source§impl Serialize for Contributor
impl Serialize for Contributor
impl StructuralPartialEq for Contributor
Auto Trait Implementations§
impl Freeze for Contributor
impl RefUnwindSafe for Contributor
impl Send for Contributor
impl Sync for Contributor
impl Unpin for Contributor
impl UnwindSafe for Contributor
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