Struct metaculus::models::patched_user::PatchedUser
source · pub struct PatchedUser {
pub id: Option<i32>,
pub url: Option<String>,
pub username: Option<String>,
pub level: Option<i32>,
pub level_title: Option<String>,
pub date_joined: Option<String>,
pub supporter_level: Option<i32>,
pub supporter_since: Option<String>,
pub formerly_known_as: Option<String>,
}
Fields§
§id: Option<i32>
§url: Option<String>
§username: Option<String>
§level: Option<i32>
§level_title: Option<String>
§date_joined: Option<String>
§supporter_level: Option<i32>
§supporter_since: Option<String>
§formerly_known_as: Option<String>
Implementations§
source§impl PatchedUser
impl PatchedUser
pub fn new() -> PatchedUser
Trait Implementations§
source§impl Clone for PatchedUser
impl Clone for PatchedUser
source§fn clone(&self) -> PatchedUser
fn clone(&self) -> PatchedUser
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 PatchedUser
impl Debug for PatchedUser
source§impl Default for PatchedUser
impl Default for PatchedUser
source§impl<'de> Deserialize<'de> for PatchedUser
impl<'de> Deserialize<'de> for PatchedUser
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 PatchedUser
impl PartialEq for PatchedUser
source§fn eq(&self, other: &PatchedUser) -> bool
fn eq(&self, other: &PatchedUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PatchedUser
impl Serialize for PatchedUser
impl StructuralPartialEq for PatchedUser
Auto Trait Implementations§
impl RefUnwindSafe for PatchedUser
impl Send for PatchedUser
impl Sync for PatchedUser
impl Unpin for PatchedUser
impl UnwindSafe for PatchedUser
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