gsquire / sendgrid-rs

Unofficial Rust library for the SendGrid API
https://crates.io/crates/sendgrid
MIT License
107 stars 50 forks source link

improve: derive more #80

Closed GopherJ closed 1 month ago

GopherJ commented 3 years ago

Signed-off-by: Cheng JIANG alex_cj96@foxmail.com

close: #79

GopherJ commented 3 years ago

derive Default will make it possible to write:

let mut p = Personalization::default();
p.add_to(...)

which eventually fixes #79

GopherJ commented 3 years ago

@gsquire hi could you have a look, thanks

gsquire commented 3 years ago

Hey, @GopherJ. I am currently moving out of state so it'll be a little while before I can review. I'm sorry for the delay!

gsquire commented 1 month ago

Closing, see https://github.com/gsquire/sendgrid-rs/issues/79#issuecomment-2330249538.