pub struct DetailedNamedPerson {
pub inner: NamedPerson,
pub primary_position: Position,
pub first_name: String,
pub middle_name: Option<String>,
pub last_name: String,
pub use_first_name: String,
pub use_last_name: String,
pub boxscore_name: String,
pub is_player: bool,
pub is_verified: bool,
pub active: bool,
}Fields§
§inner: NamedPerson§primary_position: Position§first_name: String§middle_name: Option<String>§last_name: String§use_first_name: String§use_last_name: String§boxscore_name: String§is_player: bool§is_verified: bool§active: boolImplementations§
Source§impl DetailedNamedPerson
impl DetailedNamedPerson
pub fn name_first_last(&self) -> String
pub fn name_last_first(&self) -> String
pub fn name_last_first_initial(&self) -> String
pub fn name_first_initial_last(&self) -> String
pub fn name_fml(&self) -> String
pub fn name_lfm(&self) -> String
Trait Implementations§
Source§impl Clone for DetailedNamedPerson
impl Clone for DetailedNamedPerson
Source§fn clone(&self) -> DetailedNamedPerson
fn clone(&self) -> DetailedNamedPerson
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetailedNamedPerson
impl Debug for DetailedNamedPerson
Source§impl Deref for DetailedNamedPerson
impl Deref for DetailedNamedPerson
Source§impl<'de> Deserialize<'de> for DetailedNamedPerson
impl<'de> Deserialize<'de> for DetailedNamedPerson
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 DetailedNamedPerson
impl PartialEq for DetailedNamedPerson
impl Eq for DetailedNamedPerson
impl StructuralPartialEq for DetailedNamedPerson
Auto Trait Implementations§
impl Freeze for DetailedNamedPerson
impl RefUnwindSafe for DetailedNamedPerson
impl Send for DetailedNamedPerson
impl Sync for DetailedNamedPerson
impl Unpin for DetailedNamedPerson
impl UnwindSafe for DetailedNamedPerson
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.