pub struct ReadOptions {
pub format: OutputFormat,
pub exclude_tags: Vec<String>,
pub specific_tags: Vec<String>,
pub table_format: bool,
pub hex_dump: bool,
pub verbose: Option<u8>,
pub lang: Option<String>,
pub charset: Option<String>,
pub raw_values: bool,
pub recursive: bool,
pub extensions: Vec<String>,
pub condition: Option<String>,
}Expand description
高级读取选项
Fields§
§format: OutputFormat输出格式
排除特定标签
仅显示特定标签
table_format: bool表格格式输出
hex_dump: bool十六进制转储
verbose: Option<u8>详细级别 (0-5)
lang: Option<String>语言设置
charset: Option<String>字符集
raw_values: bool显示原始数值
recursive: bool递归处理目录
extensions: Vec<String>文件扩展名过滤
condition: Option<String>条件过滤
Implementations§
Source§impl ReadOptions
impl ReadOptions
Sourcepub fn format(self, format: OutputFormat) -> Self
pub fn format(self, format: OutputFormat) -> Self
设置输出格式
Trait Implementations§
Source§impl Clone for ReadOptions
impl Clone for ReadOptions
Source§fn clone(&self) -> ReadOptions
fn clone(&self) -> ReadOptions
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 ReadOptions
impl Debug for ReadOptions
Source§impl Default for ReadOptions
impl Default for ReadOptions
Source§fn default() -> ReadOptions
fn default() -> ReadOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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