pub struct SkyBlockProfile {
pub profile_id: String,
pub cute_name: Option<String>,
pub selected: bool,
pub game_mode: Option<String>,
pub members: HashMap<String, SkyBlockMember>,
pub banking: Option<Banking>,
pub community_upgrades: Option<Value>,
pub extra: JsonObject,
}Expand description
A SkyBlock profile, as returned by skyblock/profile and skyblock/profiles.
Fields§
§profile_id: String§cute_name: Option<String>§selected: bool§game_mode: Option<String>§members: HashMap<String, SkyBlockMember>§banking: Option<Banking>§community_upgrades: Option<Value>§extra: JsonObjectTrait Implementations§
Source§impl Clone for SkyBlockProfile
impl Clone for SkyBlockProfile
Source§fn clone(&self) -> SkyBlockProfile
fn clone(&self) -> SkyBlockProfile
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 SkyBlockProfile
impl Debug for SkyBlockProfile
Source§impl<'de> Deserialize<'de> for SkyBlockProfile
impl<'de> Deserialize<'de> for SkyBlockProfile
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
Auto Trait Implementations§
impl Freeze for SkyBlockProfile
impl RefUnwindSafe for SkyBlockProfile
impl Send for SkyBlockProfile
impl Sync for SkyBlockProfile
impl Unpin for SkyBlockProfile
impl UnsafeUnpin for SkyBlockProfile
impl UnwindSafe for SkyBlockProfile
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