pub struct RecordData {
pub file: String,
pub magic: Option<String>,
pub cache: Option<bool>,
pub proxy: Option<bool>,
pub timeout: Option<i32>,
}Fields§
§file: String§magic: Option<String>§cache: Option<bool>§proxy: Option<bool>§timeout: Option<i32>§说明
只在通过网络 URL 发送时有效,单位秒,表示下载网络文件的超时时间,默认不超时
Trait Implementations§
Source§impl Clone for RecordData
impl Clone for RecordData
Source§fn clone(&self) -> RecordData
fn clone(&self) -> RecordData
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 RecordData
impl Debug for RecordData
Source§impl SendSegmentData for RecordData
impl SendSegmentData for RecordData
fn into_send_segment(self) -> SendSegment
Auto Trait Implementations§
impl Freeze for RecordData
impl RefUnwindSafe for RecordData
impl Send for RecordData
impl Sync for RecordData
impl Unpin for RecordData
impl UnsafeUnpin for RecordData
impl UnwindSafe for RecordData
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