pub struct Settings<'a> {
pub game_id: Option<&'a str>,
pub category_id: Option<&'a str>,
pub notes: Option<&'a str>,
pub visibility: Option<Visibility>,
}Expand description
The settings for a Race.
Fields§
§game_id: Option<&'a str>The ID of the Game that is being raced.
category_id: Option<&'a str>The ID of the Category that is being raced.
notes: Option<&'a str>Any notes that are associated with the Race.
visibility: Option<Visibility>The visibility of the Race.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Settings<'a>
impl<'a> RefUnwindSafe for Settings<'a>
impl<'a> Send for Settings<'a>
impl<'a> Sync for Settings<'a>
impl<'a> Unpin for Settings<'a>
impl<'a> UnwindSafe for Settings<'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