pub enum FormatChange {
DateFormat {
old_format: String,
new_format: String,
},
AmountPrecision {
old_decimals: u8,
new_decimals: u8,
},
CurrencyCode {
old_format: String,
new_format: String,
},
AccountFormat {
old_pattern: String,
new_pattern: String,
},
ReferenceFormat {
old_pattern: String,
new_pattern: String,
},
TextEncoding {
old_encoding: String,
new_encoding: String,
},
FieldLength {
field: String,
old_length: usize,
new_length: usize,
},
}Expand description
Types of format changes during migration.
Variants§
DateFormat
Date format change (e.g., MM/DD/YYYY to YYYY-MM-DD)
AmountPrecision
Amount precision change
CurrencyCode
Currency code format
AccountFormat
Account number format
ReferenceFormat
Reference number format
TextEncoding
Text encoding change
FieldLength
Field length change
Trait Implementations§
Source§impl Clone for FormatChange
impl Clone for FormatChange
Source§fn clone(&self) -> FormatChange
fn clone(&self) -> FormatChange
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 FormatChange
impl Debug for FormatChange
Source§impl<'de> Deserialize<'de> for FormatChange
impl<'de> Deserialize<'de> for FormatChange
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
Source§impl PartialEq for FormatChange
impl PartialEq for FormatChange
Source§impl Serialize for FormatChange
impl Serialize for FormatChange
impl Eq for FormatChange
impl StructuralPartialEq for FormatChange
Auto Trait Implementations§
impl Freeze for FormatChange
impl RefUnwindSafe for FormatChange
impl Send for FormatChange
impl Sync for FormatChange
impl Unpin for FormatChange
impl UnwindSafe for FormatChange
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.