Struct sendgrid_api::senders::Senders
source · pub struct Senders {
pub client: Client,
}
Fields
client: Client
Implementations
sourceimpl Senders
impl Senders
sourcepub async fn post_marketing(
&self,
body: &PostMarketingSendersRequest
) -> Result<SenderAllOf>
pub async fn post_marketing(
&self,
body: &PostMarketingSendersRequest
) -> Result<SenderAllOf>
Create a Sender Identity.
This function performs a POST
to the /marketing/senders
endpoint.
This endpoint allows you to create a new sender identity.
You may create up to 100 unique sender identities.
Sender identities are required to be verified before use. If your domain has been authenticated, a new sender identity will auto verify on creation. Otherwise an email will be sent to the from.email
.
Parameters:
on_behalf_of: &str
– The license key provided with your New Relic account.
Auto Trait Implementations
impl !RefUnwindSafe for Senders
impl Send for Senders
impl Sync for Senders
impl Unpin for Senders
impl !UnwindSafe for Senders
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more