pub struct TurnstileConfig {
pub site_key: String,
pub secret_key: String,
}Expand description
Cloudflare Turnstile configuration
Fields§
§site_key: String§secret_key: StringTrait Implementations§
Source§impl Clone for TurnstileConfig
impl Clone for TurnstileConfig
Source§fn clone(&self) -> TurnstileConfig
fn clone(&self) -> TurnstileConfig
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 TurnstileConfig
impl Debug for TurnstileConfig
Source§impl Default for TurnstileConfig
impl Default for TurnstileConfig
Source§impl<'de> Deserialize<'de> for TurnstileConfig
impl<'de> Deserialize<'de> for TurnstileConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TurnstileConfig
impl RefUnwindSafe for TurnstileConfig
impl Send for TurnstileConfig
impl Sync for TurnstileConfig
impl Unpin for TurnstileConfig
impl UnwindSafe for TurnstileConfig
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