pub struct Citizen {
pub moniker: String,
pub handle: String,
pub title: Title,
pub enlisted: DateTime<Utc>,
pub citizen_record_number: Option<u64>,
pub avatar: Url,
pub location: Vec<String>,
pub fluency: Vec<String>,
pub website: Option<String>,
pub bio: Vec<String>,
}
Fields§
§moniker: String
§handle: String
§title: Title
§enlisted: DateTime<Utc>
§citizen_record_number: Option<u64>
§avatar: Url
§location: Vec<String>
§fluency: Vec<String>
§website: Option<String>
§bio: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Citizen
impl<'de> Deserialize<'de> for Citizen
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 Citizen
impl RefUnwindSafe for Citizen
impl Send for Citizen
impl Sync for Citizen
impl Unpin for Citizen
impl UnwindSafe for Citizen
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