pub struct TeamGamePaceRequestBuilder<S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<S: State> TeamGamePaceRequestBuilder<S>
impl<S: State> TeamGamePaceRequestBuilder<S>
Sourcepub fn build(self) -> TeamGamePaceRequestwhere
S: IsComplete,
pub fn build(self) -> TeamGamePaceRequestwhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn season(
self,
value: impl Into<SeasonId>,
) -> TeamGamePaceRequestBuilder<SetSeason<S>>where
S::Season: IsUnset,
pub fn season(
self,
value: impl Into<SeasonId>,
) -> TeamGamePaceRequestBuilder<SetSeason<S>>where
S::Season: IsUnset,
Required.
Sourcepub fn teams(
self,
value: Vec<TeamId>,
) -> TeamGamePaceRequestBuilder<SetTeams<S>>where
S::Teams: IsUnset,
pub fn teams(
self,
value: Vec<TeamId>,
) -> TeamGamePaceRequestBuilder<SetTeams<S>>where
S::Teams: IsUnset,
Required.
Trait Implementations§
Source§impl<S: IsComplete> From<TeamGamePaceRequestBuilder<S>> for TeamGamePaceRequest
impl<S: IsComplete> From<TeamGamePaceRequestBuilder<S>> for TeamGamePaceRequest
Source§fn from(builder: TeamGamePaceRequestBuilder<S>) -> Self
fn from(builder: TeamGamePaceRequestBuilder<S>) -> Self
Converts to this type from the input type.
Source§impl<S: State + IsComplete> RequestURLBuilderExt for TeamGamePaceRequestBuilder<S>
impl<S: State + IsComplete> RequestURLBuilderExt for TeamGamePaceRequestBuilder<S>
Source§type Built = TeamGamePaceRequest
type Built = TeamGamePaceRequest
Built type;
PersonRequest for PersonRequestBuilderfn build_and_get( self, ) -> impl Future<Output = Result<<Self::Built as RequestURL>::Response>>
Auto Trait Implementations§
impl<S> Freeze for TeamGamePaceRequestBuilder<S>
impl<S> RefUnwindSafe for TeamGamePaceRequestBuilder<S>
impl<S> Send for TeamGamePaceRequestBuilder<S>
impl<S> Sync for TeamGamePaceRequestBuilder<S>
impl<S> Unpin for TeamGamePaceRequestBuilder<S>
impl<S> UnsafeUnpin for TeamGamePaceRequestBuilder<S>
impl<S> UnwindSafe for TeamGamePaceRequestBuilder<S>
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 more