pub struct ProgressStyle {
pub template: String,
pub progress_chars: String,
pub show_elapsed: bool,
pub show_eta: bool,
pub show_rate: bool,
}Expand description
Progress style configuration
Fields§
§template: StringTemplate for progress display
progress_chars: StringCharacters used for progress bar
show_elapsed: boolWhether to show elapsed time
show_eta: boolWhether to show ETA
show_rate: boolWhether to show transfer rate
Implementations§
Trait Implementations§
Source§impl Clone for ProgressStyle
impl Clone for ProgressStyle
Source§fn clone(&self) -> ProgressStyle
fn clone(&self) -> ProgressStyle
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 ProgressStyle
impl Debug for ProgressStyle
Auto Trait Implementations§
impl Freeze for ProgressStyle
impl RefUnwindSafe for ProgressStyle
impl Send for ProgressStyle
impl Sync for ProgressStyle
impl Unpin for ProgressStyle
impl UnwindSafe for ProgressStyle
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