#[non_exhaustive]pub struct GetGameSharpMoneyParams {
pub if_none_match: Option<String>,
}Expand description
Optional parameters for Client::get_game_sharp_money (GET /api/v1/games/{event_slug}/sharp-money).
Start from Default::default() and set what you need, through the field or the
chainable setter of the same name.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.if_none_match: Option<String>Conditional GET using a weak semantic ETag from an earlier response. A matching payload returns 304 with an empty body; request_id and cost are excluded from the validator.
Sent as the If-None-Match header.
Implementations§
Source§impl GetGameSharpMoneyParams
impl GetGameSharpMoneyParams
Sourcepub fn if_none_match(self, value: impl Into<String>) -> Self
pub fn if_none_match(self, value: impl Into<String>) -> Self
Sets If-None-Match.
Trait Implementations§
Source§impl Clone for GetGameSharpMoneyParams
impl Clone for GetGameSharpMoneyParams
Source§impl Debug for GetGameSharpMoneyParams
impl Debug for GetGameSharpMoneyParams
Source§impl Default for GetGameSharpMoneyParams
impl Default for GetGameSharpMoneyParams
Source§impl PartialEq for GetGameSharpMoneyParams
impl PartialEq for GetGameSharpMoneyParams
impl StructuralPartialEq for GetGameSharpMoneyParams
Auto Trait Implementations§
impl Freeze for GetGameSharpMoneyParams
impl RefUnwindSafe for GetGameSharpMoneyParams
impl Send for GetGameSharpMoneyParams
impl Sync for GetGameSharpMoneyParams
impl Unpin for GetGameSharpMoneyParams
impl UnsafeUnpin for GetGameSharpMoneyParams
impl UnwindSafe for GetGameSharpMoneyParams
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