pub struct PickInfo { /* private fields */ }Implementations§
Source§impl PickInfo
impl PickInfo
pub fn injury(&self) -> Option<InjuryChip>
pub fn name(&self) -> &str
Sourcepub fn game(&self) -> GameLine
pub fn game(&self) -> GameLine
The pick’s game with scores stripped: nothing has been played from the editor’s or preview’s point of view.
Sourcepub fn kickoff(&self) -> Option<String>
pub fn kickoff(&self) -> Option<String>
"Sun 11/23 1:00pm" Eastern, None while the game has no kickoff time.
Sourcepub fn abbreviated_name(&self) -> String
pub fn abbreviated_name(&self) -> String
The compact row name; DST names return unchanged.
Sourcepub fn is_long_name(&self) -> bool
pub fn is_long_name(&self) -> bool
Whether the name exceeds the content heuristic for a row.
Sourcepub fn avatar_url(&self) -> String
pub fn avatar_url(&self) -> String
The row’s image source.
Sourcepub fn avatar_is_logo(&self) -> bool
pub fn avatar_is_logo(&self) -> bool
A team logo sits contained and padded; a photo fills the cell.
Sourcepub fn salary_str(&self) -> String
pub fn salary_str(&self) -> String
"$5,700" for the pick’s slate price.
Sourcepub fn value(&self) -> PlayerOrDefenseId
pub fn value(&self) -> PlayerOrDefenseId
What the picker submits for this pick.
Sourcepub fn played_str(&self) -> String
pub fn played_str(&self) -> String
"10" for the info column.
Auto Trait Implementations§
impl Freeze for PickInfo
impl RefUnwindSafe for PickInfo
impl Send for PickInfo
impl Sync for PickInfo
impl Unpin for PickInfo
impl UnsafeUnpin for PickInfo
impl UnwindSafe for PickInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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