Struct rss2email_lib::email::sendgrid::SendGrid
source · pub struct SendGrid { /* private fields */ }
Trait Implementations§
source§impl EmailProvider for SendGrid
impl EmailProvider for SendGrid
source§fn send_email(&self, address: &str, contents: &str) -> Result<(), EmailError>
fn send_email(&self, address: &str, contents: &str) -> Result<(), EmailError>
Sends an email to and from the specified address.
source§impl From<SendGrid> for EmailProviders
impl From<SendGrid> for EmailProviders
source§fn from(v: SendGrid) -> EmailProviders
fn from(v: SendGrid) -> EmailProviders
Converts to this type from the input type.