Struct speedrun_api::api::runs::UpdateRunPlayers
source · [−]pub struct UpdateRunPlayers<'a> { /* private fields */ }Expand description
Change the list of players that participated in a run.
The updated list must contain at least one player or guest.
The submitted list of players will replace the old list completely. i.e. you cannot just add a player without also submitting the existing players.
Requires a valid API key for an authenticated user. The authenticated user must have sufficient permissions (global moderator or game moderator) to change the verification status of a run.
Implementations
sourceimpl<'a> UpdateRunPlayers<'a>
impl<'a> UpdateRunPlayers<'a>
sourcepub fn builder() -> UpdateRunPlayersBuilder<'a>
pub fn builder() -> UpdateRunPlayersBuilder<'a>
Create a builder for this endpoint
Trait Implementations
sourceimpl<'a> Clone for UpdateRunPlayers<'a>
impl<'a> Clone for UpdateRunPlayers<'a>
sourcefn clone(&self) -> UpdateRunPlayers<'a>
fn clone(&self) -> UpdateRunPlayers<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> Debug for UpdateRunPlayers<'a>
impl<'a> Debug for UpdateRunPlayers<'a>
sourceimpl<'a> Serialize for UpdateRunPlayers<'a>
impl<'a> Serialize for UpdateRunPlayers<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for UpdateRunPlayers<'a>
impl<'a> Send for UpdateRunPlayers<'a>
impl<'a> Sync for UpdateRunPlayers<'a>
impl<'a> Unpin for UpdateRunPlayers<'a>
impl<'a> UnwindSafe for UpdateRunPlayers<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more