pub struct Gate<'a> { /* private fields */ }Expand description
The form gate, server side. Get one with Client::gate.
Implementations§
Source§impl<'a> Gate<'a>
impl<'a> Gate<'a>
Sourcepub async fn verify(
&self,
req: &GateVerifyRequest,
) -> Result<GateVerification, Error>
pub async fn verify( &self, req: &GateVerifyRequest, ) -> Result<GateVerification, Error>
Redeems a gate token with the site secret. Sent without the API key and never retried.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Gate<'a>
impl<'a> !UnwindSafe for Gate<'a>
impl<'a> Freeze for Gate<'a>
impl<'a> Send for Gate<'a>
impl<'a> Sync for Gate<'a>
impl<'a> Unpin for Gate<'a>
impl<'a> UnsafeUnpin for Gate<'a>
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