pub struct ImportDefaults {
pub timeout_ms: u64,
pub max_command_chars: usize,
pub max_output_chars: usize,
pub schema_version: u32,
}Expand description
Default field values applied when import JSON omits them.
Fields§
§timeout_ms: u64Default timeout.
max_command_chars: usizeDefault command limit.
max_output_chars: usizeDefault output limit.
schema_version: u32Default schema version.
Trait Implementations§
Source§impl Clone for ImportDefaults
impl Clone for ImportDefaults
Source§fn clone(&self) -> ImportDefaults
fn clone(&self) -> ImportDefaults
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 moreimpl Copy for ImportDefaults
Auto Trait Implementations§
impl Freeze for ImportDefaults
impl RefUnwindSafe for ImportDefaults
impl Send for ImportDefaults
impl Sync for ImportDefaults
impl Unpin for ImportDefaults
impl UnsafeUnpin for ImportDefaults
impl UnwindSafe for ImportDefaults
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