pub struct RsPixel {
pub config: Config,
/* private fields */
}Fields
config: ConfigImplementations
sourceimpl RsPixel
impl RsPixel
pub async fn new(key: &str) -> Result<RsPixel, Error>
pub async fn from_config(key: &str, config: Config) -> Result<RsPixel, Error>
pub async fn username_to_uuid(&self, username: &str) -> Result<Response, Error>
pub async fn uuid_to_username(&self, uuid: &str) -> Result<Response, Error>
pub async fn simple_get(&mut self, path: &str) -> Result<Value, Error>
pub async fn get(&mut self, path: &str, params: Value) -> Result<Value, Error>
pub async fn get_key(&mut self) -> Result<KeyResponse, Error>
pub async fn get_boosters(&mut self) -> Result<BoostersResponse, Error>
pub async fn get_leaderboards(&mut self) -> Result<LeaderboardsResponse, Error>
pub async fn get_punishment_stats(
&mut self
) -> Result<PunishmentStatsResponse, Error>
pub async fn get_player_by_uuid(
&mut self,
uuid: &str
) -> Result<PlayerResponse, Error>
pub async fn get_player_by_username(
&mut self,
username: &str
) -> Result<PlayerResponse, Error>
pub async fn get_friends(&mut self, uuid: &str) -> Result<FriendsResponse, Error>
pub async fn get_guild_by_player(
&mut self,
uuid: &str
) -> Result<GuildResponse, Error>
pub async fn get_guild_by_name(
&mut self,
name: &str
) -> Result<GuildResponse, Error>
pub async fn get_guild_by_id(&mut self, id: &str) -> Result<GuildResponse, Error>
pub async fn get_counts(&mut self) -> Result<CountsResponse, Error>
pub async fn get_status(&mut self, uuid: &str) -> Result<StatusResponse, Error>
pub async fn get_recent_games(
&mut self,
uuid: &str
) -> Result<RecentGamesResponse, Error>
pub async fn get_skyblock_profiles_by_uuid(
&mut self,
uuid: &str
) -> Result<SkyblockProfilesResponse, Error>
pub async fn get_skyblock_profiles_by_name(
&mut self,
username: &str
) -> Result<SkyblockProfilesResponse, Error>
pub async fn get_skyblock_profile(
&mut self,
profile: &str
) -> Result<SkyblockProfileResponse, Error>
pub async fn get_skyblock_bingo(
&mut self,
uuid: &str
) -> Result<SkyblockBingoResponse, Error>
pub async fn get_skyblock_news(&mut self) -> Result<SkyblockNewsResponse, Error>
pub async fn get_skyblock_auctions(
&mut self,
page: i64
) -> Result<SkyblockAuctionsResponse, Error>
pub async fn get_skyblock_ended_auctions(
&mut self
) -> Result<SkyblockEndedAuctionsResponse, Error>
pub async fn get_skyblock_bazaar(
&mut self
) -> Result<SkyblockBazaarResponse, Error>
pub async fn get_skyblock_fire_sales(
&mut self
) -> Result<SkyblockFireSalesResponse, Error>
pub async fn get_resource(&mut self, resource: &str) -> Result<Value, Error>
Auto Trait Implementations
impl !RefUnwindSafe for RsPixel
impl Send for RsPixel
impl Sync for RsPixel
impl Unpin for RsPixel
impl !UnwindSafe for RsPixel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more