#[non_exhaustive]pub struct PreviewOptions {
pub contact_properties: Map<String, Value>,
pub event_properties: Map<String, Value>,
pub data_variables: Map<String, Value>,
}Expand description
Values used to render preview_email_message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.contact_properties: Map<String, Value>Contact property values.
event_properties: Map<String, Value>Event property values.
data_variables: Map<String, Value>Data variable values.
Implementations§
Source§impl PreviewOptions
impl PreviewOptions
Trait Implementations§
Source§impl Clone for PreviewOptions
impl Clone for PreviewOptions
Source§impl Debug for PreviewOptions
impl Debug for PreviewOptions
Source§impl Default for PreviewOptions
impl Default for PreviewOptions
Source§impl PartialEq for PreviewOptions
impl PartialEq for PreviewOptions
impl StructuralPartialEq for PreviewOptions
Auto Trait Implementations§
impl Freeze for PreviewOptions
impl RefUnwindSafe for PreviewOptions
impl Send for PreviewOptions
impl Sync for PreviewOptions
impl Unpin for PreviewOptions
impl UnsafeUnpin for PreviewOptions
impl UnwindSafe for PreviewOptions
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