pub struct TeamStatLeadersRequest {
pub team_id: TeamId,
pub stats: Vec<BaseballStatId>,
pub season: SeasonId,
pub pool: PlayerPool,
pub game_types: Option<Vec<GameType>>,
}Expand description
Stat leaders per team
Fields§
§team_id: TeamId§stats: Vec<BaseballStatId>§season: SeasonId§pool: PlayerPool§game_types: Option<Vec<GameType>>Implementations§
Source§impl TeamStatLeadersRequest
impl TeamStatLeadersRequest
Sourcepub fn builder() -> TeamStatLeadersRequestBuilder
pub fn builder() -> TeamStatLeadersRequestBuilder
Create an instance of TeamStatLeadersRequest using the builder syntax
Trait Implementations§
Source§impl Display for TeamStatLeadersRequest
impl Display for TeamStatLeadersRequest
Source§impl<S: IsComplete> From<TeamStatLeadersRequestBuilder<S>> for TeamStatLeadersRequest
impl<S: IsComplete> From<TeamStatLeadersRequestBuilder<S>> for TeamStatLeadersRequest
Source§fn from(builder: TeamStatLeadersRequestBuilder<S>) -> Self
fn from(builder: TeamStatLeadersRequestBuilder<S>) -> Self
Converts to this type from the input type.
Source§impl RequestURL for TeamStatLeadersRequest
impl RequestURL for TeamStatLeadersRequest
Auto Trait Implementations§
impl Freeze for TeamStatLeadersRequest
impl RefUnwindSafe for TeamStatLeadersRequest
impl Send for TeamStatLeadersRequest
impl Sync for TeamStatLeadersRequest
impl Unpin for TeamStatLeadersRequest
impl UnsafeUnpin for TeamStatLeadersRequest
impl UnwindSafe for TeamStatLeadersRequest
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> 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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.