pub struct RosterEntry {
pub position: NamedPosition,
pub status: RosterStatus,
pub team: NamedTeam,
pub is_active: bool,
pub is_active_forty_man: bool,
pub start_date: NaiveDate,
pub end_date: Option<NaiveDate>,
pub status_date: NaiveDate,
}Expand description
A Persons entry on a roster.
Fields§
§position: NamedPosition§status: RosterStatus§team: NamedTeam§is_active: bool§is_active_forty_man: bool§start_date: NaiveDate§end_date: Option<NaiveDate>§status_date: NaiveDateTrait Implementations§
Source§impl Clone for RosterEntry
impl Clone for RosterEntry
Source§fn clone(&self) -> RosterEntry
fn clone(&self) -> RosterEntry
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 RosterEntry
impl Debug for RosterEntry
Source§impl<'de> Deserialize<'de> for RosterEntry
impl<'de> Deserialize<'de> for RosterEntry
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 RosterEntry
impl PartialEq for RosterEntry
impl StructuralPartialEq for RosterEntry
Auto Trait Implementations§
impl Freeze for RosterEntry
impl RefUnwindSafe for RosterEntry
impl Send for RosterEntry
impl Sync for RosterEntry
impl Unpin for RosterEntry
impl UnsafeUnpin for RosterEntry
impl UnwindSafe for RosterEntry
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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