Struct sendgrid_api::types::Message
source · pub struct Message {Show 15 fields
pub api_key_id: String,
pub asm_group_id: i64,
pub categories: Vec<String>,
pub events: Vec<Event>,
pub from_email: String,
pub msg_id: String,
pub originating_ip: Ipv4Addr,
pub outbound_ip: Ipv4Addr,
pub outbound_ip_type: OutboundIpType,
pub status: EmailActivityResponseCommonFieldsStatus,
pub subject: String,
pub teammate: String,
pub template_id: String,
pub to_email: String,
pub unique_args: String,
}
Fields§
§api_key_id: String
The license key provided with your New Relic account.
asm_group_id: i64
§categories: Vec<String>
The recipient IDs of the recipients that already existed from this request.
events: Vec<Event>
List of events related to email message
from_email: String
The license key provided with your New Relic account.
msg_id: String
The license key provided with your New Relic account.
originating_ip: Ipv4Addr
This is the IP of the user who sent the message.
outbound_ip: Ipv4Addr
This is the IP of the user who sent the message.
outbound_ip_type: OutboundIpType
Whether or not the outbound IP is dedicated vs shared
status: EmailActivityResponseCommonFieldsStatus
The message’s status.
subject: String
The license key provided with your New Relic account.
teammate: String
The license key provided with your New Relic account.
template_id: String
The license key provided with your New Relic account.
to_email: String
The license key provided with your New Relic account.
unique_args: String
The license key provided with your New Relic account.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for Message
impl JsonSchema for Message
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<Message> for Message
impl PartialEq<Message> for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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