pub struct TeamTransaction {
pub date: Option<NaiveDate>,
pub action: String,
pub player_id: u32,
pub player_slug: String,
pub player_alias: String,
pub player_real_name: Option<String>,
pub player_country_code: Option<String>,
pub position: String,
pub reference_url: Option<String>,
}Expand description
A single roster transaction (join, leave, or inactive change).
Fields§
§date: Option<NaiveDate>§action: String§player_id: u32§player_slug: String§player_alias: String§player_real_name: Option<String>§player_country_code: Option<String>§position: String§reference_url: Option<String>Trait Implementations§
Source§impl Clone for TeamTransaction
impl Clone for TeamTransaction
Source§fn clone(&self) -> TeamTransaction
fn clone(&self) -> TeamTransaction
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 TeamTransaction
impl Debug for TeamTransaction
Auto Trait Implementations§
impl Freeze for TeamTransaction
impl RefUnwindSafe for TeamTransaction
impl Send for TeamTransaction
impl Sync for TeamTransaction
impl Unpin for TeamTransaction
impl UnwindSafe for TeamTransaction
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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