pub struct ZeroBounce {
pub api_key: String,
pub client: Client,
pub url_provider: ZBUrlProvider,
}Fields§
§api_key: String§client: Client§url_provider: ZBUrlProviderImplementations§
Source§impl ZeroBounce
impl ZeroBounce
pub fn bulk_validation_file_submit( &self, zb_file: &ZBFile, ) -> ZBResult<ZBFileFeedback>
pub fn bulk_validation_file_status_check( &self, file_id: &str, ) -> ZBResult<ZBFileStatus>
pub fn bulk_validation_result_fetch( &self, file_id: &str, ) -> ZBResult<ZBBulkResponse>
pub fn bulk_validation_result_delete( &self, file_id: &str, ) -> ZBResult<ZBFileFeedback>
pub fn ai_scoring_file_submit( &self, zb_file: &ZBFile, ) -> ZBResult<ZBFileFeedback>
pub fn ai_scoring_file_status_check( &self, file_id: &str, ) -> ZBResult<ZBFileStatus>
pub fn ai_scoring_result_fetch(&self, file_id: &str) -> ZBResult<ZBBulkResponse>
pub fn ai_scoring_result_delete( &self, file_id: &str, ) -> ZBResult<ZBFileFeedback>
Source§impl ZeroBounce
impl ZeroBounce
pub fn validate_email_and_ip( &self, email: &str, ip_address: &str, ) -> ZBResult<ZBValidation>
pub fn validate_email(&self, email: &str) -> ZBResult<ZBValidation>
pub fn batch_validate( &self, emails_and_ip_addresses: Vec<(String, String)>, ) -> ZBResult<ZBBatchValidation>
Source§impl ZeroBounce
impl ZeroBounce
pub fn get_credits(&self) -> ZBResult<i64>
pub fn get_api_usage( &self, start_date: NaiveDate, end_date: NaiveDate, ) -> ZBResult<ApiUsage>
pub fn get_api_usage_overall(&self) -> ZBResult<ApiUsage>
pub fn get_activity_data(&self, email: &str) -> ZBResult<ActivityData>
pub fn find_email( &self, domain: &str, first_name: &str, middle_name: &str, last_name: &str, ) -> ZBResult<FindEmailResponse>
pub fn domain_search(&self, domain: &str) -> ZBResult<FindEmailResponse>
Source§impl ZeroBounce
impl ZeroBounce
pub fn new(api_key: &str) -> ZeroBounce
Auto Trait Implementations§
impl Freeze for ZeroBounce
impl !RefUnwindSafe for ZeroBounce
impl Send for ZeroBounce
impl Sync for ZeroBounce
impl Unpin for ZeroBounce
impl !UnwindSafe for ZeroBounce
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