pub struct SalariedPlayer {
pub id: Option<NflPlayerId>,
pub game: Arc<Game>,
pub name: String,
pub position: DfsPosition,
pub team: TeamAbbr,
pub salary: u32,
pub games_played: u8,
pub fppg: f64,
pub injury: Option<InjuryDesignation>,
pub scored_stats: Option<ScoredStats>,
}Fields§
§id: Option<NflPlayerId>§game: Arc<Game>§name: String§position: DfsPosition§team: TeamAbbr§salary: u32§games_played: u8§fppg: f64§injury: Option<InjuryDesignation>Latest report status on the current slate, not historical game status.
scored_stats: Option<ScoredStats>Trait Implementations§
Source§impl Clone for SalariedPlayer
impl Clone for SalariedPlayer
Auto Trait Implementations§
impl Freeze for SalariedPlayer
impl RefUnwindSafe for SalariedPlayer
impl Send for SalariedPlayer
impl Sync for SalariedPlayer
impl Unpin for SalariedPlayer
impl UnsafeUnpin for SalariedPlayer
impl UnwindSafe for SalariedPlayer
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,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more