pub struct PaywallConfigBuilder { /* private fields */ }Expand description
Paywall configuration builder
Implementations§
Source§impl PaywallConfigBuilder
impl PaywallConfigBuilder
Sourcepub fn cdp_client_key(self, key: impl Into<String>) -> Self
pub fn cdp_client_key(self, key: impl Into<String>) -> Self
Set the CDP client key
Sourcepub fn session_token_endpoint(self, endpoint: impl Into<String>) -> Self
pub fn session_token_endpoint(self, endpoint: impl Into<String>) -> Self
Set the session token endpoint
Sourcepub fn build(self) -> PaywallConfig
pub fn build(self) -> PaywallConfig
Build the configuration
Trait Implementations§
Source§impl Clone for PaywallConfigBuilder
impl Clone for PaywallConfigBuilder
Source§fn clone(&self) -> PaywallConfigBuilder
fn clone(&self) -> PaywallConfigBuilder
Returns a duplicate of the value. Read more
1.0.0 · 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 PaywallConfigBuilder
impl Debug for PaywallConfigBuilder
Auto Trait Implementations§
impl Freeze for PaywallConfigBuilder
impl RefUnwindSafe for PaywallConfigBuilder
impl Send for PaywallConfigBuilder
impl Sync for PaywallConfigBuilder
impl Unpin for PaywallConfigBuilder
impl UnwindSafe for PaywallConfigBuilder
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