pub struct BytesOptions {
pub unit: Option<ByteUnit>,
pub decimal_places: usize,
pub fixed_decimals: bool,
pub thousands_separator: String,
pub unit_separator: String,
}Expand description
Options for byte formatting
Fields§
§unit: Option<ByteUnit>§decimal_places: usize§fixed_decimals: bool§thousands_separator: String§unit_separator: StringTrait Implementations§
Source§impl Clone for BytesOptions
impl Clone for BytesOptions
Source§fn clone(&self) -> BytesOptions
fn clone(&self) -> BytesOptions
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 moreSource§impl Debug for BytesOptions
impl Debug for BytesOptions
Auto Trait Implementations§
impl Freeze for BytesOptions
impl RefUnwindSafe for BytesOptions
impl Send for BytesOptions
impl Sync for BytesOptions
impl Unpin for BytesOptions
impl UnsafeUnpin for BytesOptions
impl UnwindSafe for BytesOptions
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