pub struct PrettyBytesOptions {
pub use_1024_instead_of_1000: Option<bool>,
pub number_of_decimal: Option<usize>,
pub remove_zero_decimal: Option<bool>,
}
Fields§
§use_1024_instead_of_1000: Option<bool>
§number_of_decimal: Option<usize>
§remove_zero_decimal: Option<bool>
Trait Implementations§
Source§impl Clone for PrettyBytesOptions
impl Clone for PrettyBytesOptions
Source§fn clone(&self) -> PrettyBytesOptions
fn clone(&self) -> PrettyBytesOptions
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PrettyBytesOptions
impl RefUnwindSafe for PrettyBytesOptions
impl Send for PrettyBytesOptions
impl Sync for PrettyBytesOptions
impl Unpin for PrettyBytesOptions
impl UnwindSafe for PrettyBytesOptions
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