pub struct IdentityRecord {
pub identity: String,
pub identity_type: IdentityType,
pub verification_status: VerificationStatus,
pub verification_token: Option<String>,
pub dkim_enabled: bool,
pub dkim_tokens: Vec<String>,
pub notification_topics: HashMap<String, Option<String>>,
pub feedback_forwarding_enabled: bool,
pub mail_from_domain: Option<String>,
pub behavior_on_mx_failure: BehaviorOnMXFailure,
pub policies: HashMap<String, String>,
}Expand description
A single identity record (email address or domain).
Fields§
§identity: StringThe identity string (email address or domain name).
identity_type: IdentityTypeType of identity.
verification_status: VerificationStatusVerification status (always Success in local dev).
verification_token: Option<String>Verification token (for domain identities).
dkim_enabled: boolDKIM enabled flag.
dkim_tokens: Vec<String>DKIM tokens (stub tokens for domain identities).
notification_topics: HashMap<String, Option<String>>Notification topic ARNs keyed by notification type.
feedback_forwarding_enabled: boolFeedback forwarding enabled.
mail_from_domain: Option<String>Mail-from domain.
behavior_on_mx_failure: BehaviorOnMXFailureBehavior on MX failure.
policies: HashMap<String, String>Sending authorization policies keyed by policy name.
Trait Implementations§
Source§impl Clone for IdentityRecord
impl Clone for IdentityRecord
Source§fn clone(&self) -> IdentityRecord
fn clone(&self) -> IdentityRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IdentityRecord
impl RefUnwindSafe for IdentityRecord
impl Send for IdentityRecord
impl Sync for IdentityRecord
impl Unpin for IdentityRecord
impl UnsafeUnpin for IdentityRecord
impl UnwindSafe for IdentityRecord
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