#[non_exhaustive]pub struct ReadOptions {
pub parameter_rules: Option<ParameterRules>,
}Expand description
Options for read_content_with, which may gain more: start from ReadOptions::default and set those you need.
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.parameter_rules: Option<ParameterRules>The rules for reading multipart part names and filenames, rather than those the media type gives, as ContentParser::with_parameter_rules describes.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ReadOptions
impl Freeze for ReadOptions
impl RefUnwindSafe for ReadOptions
impl Send for ReadOptions
impl Sync for ReadOptions
impl Unpin for ReadOptions
impl UnsafeUnpin for ReadOptions
impl UnwindSafe for ReadOptions
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