pub struct TempFileOptions {
pub parent: Option<FsPath>,
pub prefix: String,
pub suffix: String,
}Expand description
Options controlling temporary file creation.
Fields§
§parent: Option<FsPath>Parent directory or prefix for the temporary file.
prefix: StringName prefix.
suffix: StringName suffix.
Trait Implementations§
Source§impl Clone for TempFileOptions
impl Clone for TempFileOptions
Source§fn clone(&self) -> TempFileOptions
fn clone(&self) -> TempFileOptions
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 TempFileOptions
impl Debug for TempFileOptions
Source§impl Default for TempFileOptions
impl Default for TempFileOptions
Source§impl PartialEq for TempFileOptions
impl PartialEq for TempFileOptions
Source§fn eq(&self, other: &TempFileOptions) -> bool
fn eq(&self, other: &TempFileOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TempFileOptions
impl StructuralPartialEq for TempFileOptions
Auto Trait Implementations§
impl Freeze for TempFileOptions
impl RefUnwindSafe for TempFileOptions
impl Send for TempFileOptions
impl Sync for TempFileOptions
impl Unpin for TempFileOptions
impl UnsafeUnpin for TempFileOptions
impl UnwindSafe for TempFileOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoValueDefault<T> for T
impl<T> IntoValueDefault<T> for T
Source§fn into_value_default(self) -> T
fn into_value_default(self) -> T
Converts this argument into the default value.