pub struct PersonExtra {
pub github_profile_id: Option<Option<String>>,
pub facebook_profile_id: Option<Option<String>>,
pub twitter_profile_id: Option<Option<String>>,
}Fields§
§github_profile_id: Option<Option<String>>This profile’s Github account.
facebook_profile_id: Option<Option<String>>This profile’s Facebook account.
twitter_profile_id: Option<Option<String>>This profile’s twitter account.
Implementations§
Source§impl PersonExtra
impl PersonExtra
pub fn new() -> PersonExtra
Trait Implementations§
Source§impl Clone for PersonExtra
impl Clone for PersonExtra
Source§fn clone(&self) -> PersonExtra
fn clone(&self) -> PersonExtra
Returns a duplicate 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 PersonExtra
impl Debug for PersonExtra
Source§impl Default for PersonExtra
impl Default for PersonExtra
Source§fn default() -> PersonExtra
fn default() -> PersonExtra
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersonExtra
impl<'de> Deserialize<'de> for PersonExtra
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 PersonExtra
impl PartialEq for PersonExtra
Source§impl Serialize for PersonExtra
impl Serialize for PersonExtra
impl StructuralPartialEq for PersonExtra
Auto Trait Implementations§
impl Freeze for PersonExtra
impl RefUnwindSafe for PersonExtra
impl Send for PersonExtra
impl Sync for PersonExtra
impl Unpin for PersonExtra
impl UnwindSafe for PersonExtra
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