pub struct ApiGetUserBadgeProgressResponse {
pub status: ApiStatus,
pub user_badge_progress: Box<UserBadgeProgress>,
}Fields§
§status: ApiStatus§user_badge_progress: Box<UserBadgeProgress>Implementations§
Source§impl ApiGetUserBadgeProgressResponse
impl ApiGetUserBadgeProgressResponse
pub fn new( status: ApiStatus, user_badge_progress: UserBadgeProgress, ) -> ApiGetUserBadgeProgressResponse
Trait Implementations§
Source§impl Clone for ApiGetUserBadgeProgressResponse
impl Clone for ApiGetUserBadgeProgressResponse
Source§fn clone(&self) -> ApiGetUserBadgeProgressResponse
fn clone(&self) -> ApiGetUserBadgeProgressResponse
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 moreSource§impl Default for ApiGetUserBadgeProgressResponse
impl Default for ApiGetUserBadgeProgressResponse
Source§fn default() -> ApiGetUserBadgeProgressResponse
fn default() -> ApiGetUserBadgeProgressResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiGetUserBadgeProgressResponse
impl<'de> Deserialize<'de> for ApiGetUserBadgeProgressResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiGetUserBadgeProgressResponse
impl PartialEq for ApiGetUserBadgeProgressResponse
Source§fn eq(&self, other: &ApiGetUserBadgeProgressResponse) -> bool
fn eq(&self, other: &ApiGetUserBadgeProgressResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ApiGetUserBadgeProgressResponse
Auto Trait Implementations§
impl Freeze for ApiGetUserBadgeProgressResponse
impl RefUnwindSafe for ApiGetUserBadgeProgressResponse
impl Send for ApiGetUserBadgeProgressResponse
impl Sync for ApiGetUserBadgeProgressResponse
impl Unpin for ApiGetUserBadgeProgressResponse
impl UnwindSafe for ApiGetUserBadgeProgressResponse
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