pub struct DraftEndpointUrlData {
pub limit: Option<u32>,
pub offset: Option<u32>,
pub round: Option<u32>,
pub drafted_only: Option<bool>,
pub last_name: Option<char>,
pub school: Option<char>,
pub position: Option<Position>,
pub team_id: Option<TeamId>,
pub home_country: Option<String>,
pub player_id: Option<PersonId>,
}Fields§
§limit: Option<u32>Number of results to return.
offset: Option<u32>Offset in the results (used for pagination).
round: Option<u32>Draft round.
drafted_only: Option<bool>Include only successfully drafted players
last_name: Option<char>Filter players by the first character of their last name.
school: Option<char>Filter players by the first character of their school they were drafted from.
position: Option<Position>Filter players by their position.
team_id: Option<TeamId>Filter players by the team they were drafted by.
home_country: Option<String>Filter players by their home country.
player_id: Option<PersonId>Filter for a specific player id.
Trait Implementations§
Source§impl Clone for DraftEndpointUrlData
impl Clone for DraftEndpointUrlData
Source§fn clone(&self) -> DraftEndpointUrlData
fn clone(&self) -> DraftEndpointUrlData
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 moreAuto Trait Implementations§
impl Freeze for DraftEndpointUrlData
impl RefUnwindSafe for DraftEndpointUrlData
impl Send for DraftEndpointUrlData
impl Sync for DraftEndpointUrlData
impl Unpin for DraftEndpointUrlData
impl UnwindSafe for DraftEndpointUrlData
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