Skip to main content

zero_bounce/utility/structures/
validate_options.rs

1#[derive(Clone, Debug, Default)]
2pub struct ZBValidateOptions {
3    pub timeout: Option<u16>,
4    pub activity_data: Option<bool>,
5    pub verify_plus: Option<bool>,
6    /// Adds `domain_website_exists` and `domain_registrant_company_name` to the response.
7    pub domain_info: Option<bool>,
8    /// Processes a greylisted address again instead of returning it as unknown.
9    pub greylist_processing: Option<bool>,
10    /// Where the result is sent once ready. Only valid with `greylist_processing: Some(true)`.
11    pub callback_url: Option<String>,
12    pub use_post: bool,
13}