pub enum AchievementName {
Show 36 variants
CreatePost,
FollowUser,
Create50Posts,
Create100Posts,
Create1000Posts,
CreateQuestion,
EditSettings,
CreateJournal,
FollowedByStaff,
CreateDrawing,
OpenAchievements,
Get1Like,
Get10Likes,
Get50Likes,
Get100Likes,
Get25Dislikes,
Get1Follower,
Get10Followers,
Get50Followers,
Get100Followers,
Follow10Users,
JoinCommunity,
CreateDraft,
EditPost,
Enable2fa,
EditNote,
CreatePostWithTitle,
CreateRepost,
OpenTos,
OpenPrivacyPolicy,
OpenReference,
GetAllOtherAchievements,
AcceptProfileWarning,
OpenSessionSettings,
CreateSite,
CreateDomain,
}Variants§
CreatePost
FollowUser
Create50Posts
Create100Posts
Create1000Posts
CreateQuestion
EditSettings
CreateJournal
FollowedByStaff
CreateDrawing
OpenAchievements
Get1Like
Get10Likes
Get50Likes
Get100Likes
Get25Dislikes
Get1Follower
Get10Followers
Get50Followers
Get100Followers
Follow10Users
JoinCommunity
CreateDraft
EditPost
Enable2fa
EditNote
CreatePostWithTitle
CreateRepost
OpenTos
OpenPrivacyPolicy
OpenReference
GetAllOtherAchievements
AcceptProfileWarning
OpenSessionSettings
CreateSite
CreateDomain
Implementations§
Source§impl AchievementName
impl AchievementName
pub fn title(&self) -> &str
pub fn description(&self) -> &str
pub fn rarity(&self) -> AchievementRarity
Trait Implementations§
Source§impl Clone for AchievementName
impl Clone for AchievementName
Source§fn clone(&self) -> AchievementName
fn clone(&self) -> AchievementName
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 Debug for AchievementName
impl Debug for AchievementName
Source§impl<'de> Deserialize<'de> for AchievementName
impl<'de> Deserialize<'de> for AchievementName
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 Into<Achievement> for AchievementName
impl Into<Achievement> for AchievementName
Source§fn into(self) -> Achievement
fn into(self) -> Achievement
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for AchievementName
impl PartialEq for AchievementName
Source§impl Serialize for AchievementName
impl Serialize for AchievementName
impl Eq for AchievementName
impl StructuralPartialEq for AchievementName
Auto Trait Implementations§
impl Freeze for AchievementName
impl RefUnwindSafe for AchievementName
impl Send for AchievementName
impl Sync for AchievementName
impl Unpin for AchievementName
impl UnwindSafe for AchievementName
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.