Struct pretty_bytes_rust::PrettyBytesOptions
source · 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 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