Struct google_games1::api::PlayerName
source · pub struct PlayerName {
pub family_name: Option<String>,
pub given_name: Option<String>,
}
Expand description
A representation of the individual components of the name.
This type is not used in any activity, and only used as part of another schema.
Fields§
§family_name: Option<String>
The family name of this player. In some places, this is known as the last name.
given_name: Option<String>
The given name of this player. In some places, this is known as the first name.
Trait Implementations§
source§impl Clone for PlayerName
impl Clone for PlayerName
source§fn clone(&self) -> PlayerName
fn clone(&self) -> PlayerName
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 PlayerName
impl Debug for PlayerName
source§impl Default for PlayerName
impl Default for PlayerName
source§fn default() -> PlayerName
fn default() -> PlayerName
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlayerName
impl<'de> Deserialize<'de> for PlayerName
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 Serialize for PlayerName
impl Serialize for PlayerName
impl NestedType for PlayerName
impl Part for PlayerName
Auto Trait Implementations§
impl RefUnwindSafe for PlayerName
impl Send for PlayerName
impl Sync for PlayerName
impl Unpin for PlayerName
impl UnwindSafe for PlayerName
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