[][src]Struct splits_io_api::race::UpdateSettings

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>,
}

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

impl<'a> Default for UpdateSettings<'a>[src]

impl<'a> Serialize for UpdateSettings<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for UpdateSettings<'a>[src]

impl<'a> Send for UpdateSettings<'a>[src]

impl<'a> Sync for UpdateSettings<'a>[src]

impl<'a> Unpin for UpdateSettings<'a>[src]

impl<'a> UnwindSafe for UpdateSettings<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.