pub struct UserPersonalstatsForIdRequest {
pub id: UserDiscordPathId,
pub cat: Option<PersonalStatsCategoryEnum>,
pub stat: Option<Stat>,
pub timestamp: Option<Timestamp>,
pub api_comment: Option<String>,
pub api_key_public: Option<String>,
}Fields§
§id: UserDiscordPathId§cat: Option<PersonalStatsCategoryEnum>§stat: Option<Stat>§timestamp: Option<Timestamp>§api_comment: Option<String>§api_key_public: Option<String>Implementations§
Source§impl UserPersonalstatsForIdRequest
impl UserPersonalstatsForIdRequest
Sourcepub fn builder(id: UserDiscordPathId) -> UserPersonalstatsForIdRequestBuilder
pub fn builder(id: UserDiscordPathId) -> UserPersonalstatsForIdRequestBuilder
Create an instance of UserPersonalstatsForIdRequest using the builder syntax
Trait Implementations§
Source§impl Clone for UserPersonalstatsForIdRequest
impl Clone for UserPersonalstatsForIdRequest
Source§fn clone(&self) -> UserPersonalstatsForIdRequest
fn clone(&self) -> UserPersonalstatsForIdRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl IntoRequest for UserPersonalstatsForIdRequest
impl IntoRequest for UserPersonalstatsForIdRequest
Source§type Discriminant = UserDiscordPathId
type Discriminant = UserDiscordPathId
If used in bulk request, the discriminant is used to distinguish the responses. For
endpoints which have no path parameters this will be
().Source§type Response = UserPersonalStatsResponse
type Response = UserPersonalStatsResponse
The response type which shall be deserialised.
fn into_request(self) -> (Self::Discriminant, ApiRequest)
Auto Trait Implementations§
impl Freeze for UserPersonalstatsForIdRequest
impl RefUnwindSafe for UserPersonalstatsForIdRequest
impl Send for UserPersonalstatsForIdRequest
impl Sync for UserPersonalstatsForIdRequest
impl Unpin for UserPersonalstatsForIdRequest
impl UnsafeUnpin for UserPersonalstatsForIdRequest
impl UnwindSafe for UserPersonalstatsForIdRequest
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