Enum icu_provider_fs::export::serializers::json::StyleOption
source · #[non_exhaustive]pub enum StyleOption {
Compact,
Pretty,
}
Expand description
Choices for how to render the JSON files.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Compact
Print the smallest possible JSON, to reduce file size.
Pretty
Pretty-print JSON, to make it more readable.
Trait Implementations§
source§impl Clone for StyleOption
impl Clone for StyleOption
source§fn clone(&self) -> StyleOption
fn clone(&self) -> StyleOption
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 moresource§impl Debug for StyleOption
impl Debug for StyleOption
source§impl Default for StyleOption
impl Default for StyleOption
source§fn default() -> StyleOption
fn default() -> StyleOption
Returns the “default value” for a type. Read more
source§impl PartialEq for StyleOption
impl PartialEq for StyleOption
source§fn eq(&self, other: &StyleOption) -> bool
fn eq(&self, other: &StyleOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StyleOption
impl StructuralPartialEq for StyleOption
Auto Trait Implementations§
impl Freeze for StyleOption
impl RefUnwindSafe for StyleOption
impl Send for StyleOption
impl Sync for StyleOption
impl Unpin for StyleOption
impl UnwindSafe for StyleOption
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