pub struct EmailGetParams {
pub body_properties: Option<Vec<String>>,
pub fetch_text_body_values: Option<bool>,
pub fetch_html_body_values: Option<bool>,
pub fetch_all_body_values: Option<bool>,
pub max_body_value_bytes: Option<u64>,
pub extra: Map<String, Value>,
}Expand description
Extra args for Email/get (RFC 8621 §4.1.8).
Controls which body properties to fetch and whether to inline body values.
Fields§
§body_properties: Option<Vec<String>>Override the set of body part properties returned (RFC 8621 §4.1.8).
fetch_text_body_values: Option<bool>If true, inline values for text/plain body parts (RFC 8621 §4.1.8).
fetch_html_body_values: Option<bool>If true, inline values for text/html body parts (RFC 8621 §4.1.8).
fetch_all_body_values: Option<bool>If true, inline values for all body parts (RFC 8621 §4.1.8).
max_body_value_bytes: Option<u64>Truncate body values to at most this many bytes (RFC 8621 §4.1.8).
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).
Trait Implementations§
Source§impl Debug for EmailGetParams
impl Debug for EmailGetParams
Source§impl Default for EmailGetParams
impl Default for EmailGetParams
Source§fn default() -> EmailGetParams
fn default() -> EmailGetParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmailGetParams
impl RefUnwindSafe for EmailGetParams
impl Send for EmailGetParams
impl Sync for EmailGetParams
impl Unpin for EmailGetParams
impl UnsafeUnpin for EmailGetParams
impl UnwindSafe for EmailGetParams
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