pub struct OpenFile {
pub location_policy_class: Option<String>,
pub read_type: Option<ReadType>,
}
Expand description
OpenFile holds the options for opening a file.
Fields§
§location_policy_class: Option<String>
§read_type: Option<ReadType>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenFile
impl<'de> Deserialize<'de> for OpenFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpenFile
impl RefUnwindSafe for OpenFile
impl Send for OpenFile
impl Sync for OpenFile
impl Unpin for OpenFile
impl UnwindSafe for OpenFile
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