pub struct DeterminismConfig {Show 16 fields
pub canon_mode: CanonMode,
pub sort_strategy: SortStrategy,
pub custom_sort_order: Option<IndexMap<String, Vec<String>>>,
pub namespace_strategy: NamespaceStrategy,
pub locked_prefixes: IndexMap<String, String>,
pub output_mode: OutputMode,
pub line_ending: LineEnding,
pub indent_char: IndentChar,
pub indent_width: usize,
pub unicode_normalization: UnicodeNormalization,
pub xml_character_policy: XmlCharacterPolicy,
pub quote_style: QuoteStyle,
pub time_zone_policy: TimeZonePolicy,
pub date_time_format: DateTimeFormat,
pub emit_reproducibility_banner: bool,
pub verify_determinism: Option<usize>,
}
Expand description
Determinism configuration for XML generation
Fields§
§canon_mode: CanonMode
Canonicalization mode
sort_strategy: SortStrategy
Element ordering strategy
custom_sort_order: Option<IndexMap<String, Vec<String>>>
Custom sort order (uses IndexMap for determinism)
namespace_strategy: NamespaceStrategy
Namespace handling
locked_prefixes: IndexMap<String, String>
Locked namespace prefixes (uses IndexMap for determinism)
output_mode: OutputMode
Formatting options
line_ending: LineEnding
§indent_char: IndentChar
§indent_width: usize
§unicode_normalization: UnicodeNormalization
String normalization
xml_character_policy: XmlCharacterPolicy
§quote_style: QuoteStyle
§time_zone_policy: TimeZonePolicy
Date/Time handling
date_time_format: DateTimeFormat
Reproducibility options
verify_determinism: Option<usize>
Trait Implementations§
Source§impl Clone for DeterminismConfig
impl Clone for DeterminismConfig
Source§fn clone(&self) -> DeterminismConfig
fn clone(&self) -> DeterminismConfig
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 DeterminismConfig
impl Debug for DeterminismConfig
Source§impl Default for DeterminismConfig
impl Default for DeterminismConfig
Source§impl<'de> Deserialize<'de> for DeterminismConfig
impl<'de> Deserialize<'de> for DeterminismConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeterminismConfig
impl RefUnwindSafe for DeterminismConfig
impl Send for DeterminismConfig
impl Sync for DeterminismConfig
impl Unpin for DeterminismConfig
impl UnwindSafe for DeterminismConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more