pub struct Verify { /* private fields */ }Implementations§
Source§impl Verify
impl Verify
Sourcepub async fn verify_request(query_string: &str) -> Result<Self, Error>
pub async fn verify_request(query_string: &str) -> Result<Self, Error>
Checks query string for validity and retrieves SteamID64. Call this function in the handler on the callback page
Sourcepub async fn get_summaries(
&self,
apikey: &str,
) -> Result<PlayerSummaries, Error>
pub async fn get_summaries( &self, apikey: &str, ) -> Result<PlayerSummaries, Error>
Query the Steam API to get a player profile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verify
impl RefUnwindSafe for Verify
impl Send for Verify
impl Sync for Verify
impl Unpin for Verify
impl UnwindSafe for Verify
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