pub struct ReadFileConfig {
pub max_read_bytes: u64,
pub allow_binary: bool,
}Fields§
§max_read_bytes: u64§allow_binary: boolTrait Implementations§
Source§impl Clone for ReadFileConfig
impl Clone for ReadFileConfig
Source§fn clone(&self) -> ReadFileConfig
fn clone(&self) -> ReadFileConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ReadFileConfig
impl Debug for ReadFileConfig
Source§impl Default for ReadFileConfig
impl Default for ReadFileConfig
Source§impl<'de> Deserialize<'de> for ReadFileConfigwhere
ReadFileConfig: Default,
impl<'de> Deserialize<'de> for ReadFileConfigwhere
ReadFileConfig: Default,
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 ReadFileConfig
impl RefUnwindSafe for ReadFileConfig
impl Send for ReadFileConfig
impl Sync for ReadFileConfig
impl Unpin for ReadFileConfig
impl UnsafeUnpin for ReadFileConfig
impl UnwindSafe for ReadFileConfig
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