pub struct JmapEmailGetOptions {
pub properties: Option<Vec<JmapEmailProperty>>,
pub fetch_text_body_values: bool,
pub fetch_html_body_values: bool,
pub max_body_value_bytes: u64,
}Expand description
Options for JmapEmailGet::new.
Fields§
§properties: Option<Vec<JmapEmailProperty>>Restrict the returned properties; None returns all.
fetch_text_body_values: boolInclude bodyValues for text parts.
fetch_html_body_values: boolInclude bodyValues for HTML parts.
max_body_value_bytes: u64Max bytes per body value (0 is unlimited).
Trait Implementations§
Source§impl Clone for JmapEmailGetOptions
impl Clone for JmapEmailGetOptions
Source§fn clone(&self) -> JmapEmailGetOptions
fn clone(&self) -> JmapEmailGetOptions
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 moreSource§impl Debug for JmapEmailGetOptions
impl Debug for JmapEmailGetOptions
Source§impl Default for JmapEmailGetOptions
impl Default for JmapEmailGetOptions
Source§fn default() -> JmapEmailGetOptions
fn default() -> JmapEmailGetOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for JmapEmailGetOptions
impl RefUnwindSafe for JmapEmailGetOptions
impl Send for JmapEmailGetOptions
impl Sync for JmapEmailGetOptions
impl Unpin for JmapEmailGetOptions
impl UnsafeUnpin for JmapEmailGetOptions
impl UnwindSafe for JmapEmailGetOptions
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