pub struct UpdateSettings<'a> {
pub game_id: Update<&'a str>,
pub category_id: Update<&'a str>,
pub notes: Update<&'a str>,
pub visibility: Option<Visibility>,
}Expand description
The new properties to use for a Race when performing an update.
Fields§
§game_id: Update<&'a str>The update to perform for the ID of the Game that is being raced.
category_id: Update<&'a str>The update to perform for the ID of the Category that is being raced.
notes: Update<&'a str>The update to perform for any notes that are associated with the Race.
visibility: Option<Visibility>The update to perform for the visibility of the Race.
Trait Implementations§
Source§impl<'a> Default for UpdateSettings<'a>
impl<'a> Default for UpdateSettings<'a>
Source§fn default() -> UpdateSettings<'a>
fn default() -> UpdateSettings<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for UpdateSettings<'a>
impl<'a> RefUnwindSafe for UpdateSettings<'a>
impl<'a> Send for UpdateSettings<'a>
impl<'a> Sync for UpdateSettings<'a>
impl<'a> Unpin for UpdateSettings<'a>
impl<'a> UnwindSafe for UpdateSettings<'a>
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