pub struct Paywall { /* private fields */ }Implementations§
Source§impl Paywall
impl Paywall
pub fn new(opts: PaywallOptions) -> Self
pub async fn process_request( &self, path: &str, headers: HashMap<String, String>, inner: Option<InnerHandler>, ) -> Result<PaywallResponse, Error>
Auto Trait Implementations§
impl !Freeze for Paywall
impl !RefUnwindSafe for Paywall
impl Send for Paywall
impl Sync for Paywall
impl Unpin for Paywall
impl UnsafeUnpin for Paywall
impl !UnwindSafe for Paywall
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