#[repr(C)]pub struct rc_api_update_achievement_request_t {
pub username: *const c_char,
pub api_token: *const c_char,
pub achievement_id: u32,
pub game_id: u32,
pub title: *const c_char,
pub description: *const c_char,
pub badge: *const c_char,
pub trigger: *const c_char,
pub points: u32,
pub category: u32,
pub type_: u32,
}Expand description
API parameters for an update achievement request.
Fields§
§username: *const c_char§api_token: *const c_char§achievement_id: u32§game_id: u32§title: *const c_char§description: *const c_char§badge: *const c_char§trigger: *const c_char§points: u32§category: u32§type_: u32Trait Implementations§
Source§impl Clone for rc_api_update_achievement_request_t
impl Clone for rc_api_update_achievement_request_t
Source§fn clone(&self) -> rc_api_update_achievement_request_t
fn clone(&self) -> rc_api_update_achievement_request_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rc_api_update_achievement_request_t
Auto Trait Implementations§
impl Freeze for rc_api_update_achievement_request_t
impl RefUnwindSafe for rc_api_update_achievement_request_t
impl !Send for rc_api_update_achievement_request_t
impl !Sync for rc_api_update_achievement_request_t
impl Unpin for rc_api_update_achievement_request_t
impl UnwindSafe for rc_api_update_achievement_request_t
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