pub struct UserProfileForIdRequest {
pub id: UserDiscordPathId,
pub api_strip_tags_true: Option<bool>,
pub api_timestamp: Option<String>,
pub api_comment: Option<String>,
pub api_key_public: Option<String>,
}Fields§
§id: UserDiscordPathId§api_timestamp: Option<String>§api_comment: Option<String>§api_key_public: Option<String>Implementations§
Source§impl UserProfileForIdRequest
impl UserProfileForIdRequest
Sourcepub fn builder(id: UserDiscordPathId) -> UserProfileForIdRequestBuilder
pub fn builder(id: UserDiscordPathId) -> UserProfileForIdRequestBuilder
Create an instance of UserProfileForIdRequest using the builder syntax
Trait Implementations§
Source§impl Clone for UserProfileForIdRequest
impl Clone for UserProfileForIdRequest
Source§fn clone(&self) -> UserProfileForIdRequest
fn clone(&self) -> UserProfileForIdRequest
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 Debug for UserProfileForIdRequest
impl Debug for UserProfileForIdRequest
Source§impl IntoRequest for UserProfileForIdRequest
impl IntoRequest for UserProfileForIdRequest
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 = UserProfileResponse
type Response = UserProfileResponse
The response type which shall be deserialised.
fn into_request(self) -> (Self::Discriminant, ApiRequest)
Auto Trait Implementations§
impl Freeze for UserProfileForIdRequest
impl RefUnwindSafe for UserProfileForIdRequest
impl Send for UserProfileForIdRequest
impl Sync for UserProfileForIdRequest
impl Unpin for UserProfileForIdRequest
impl UnsafeUnpin for UserProfileForIdRequest
impl UnwindSafe for UserProfileForIdRequest
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