pub struct EvolutionRecord {
pub id: Uuid,
pub event_type: String,
pub action: EvolutionAction,
pub from_version: Option<u32>,
pub to_version: Option<u32>,
pub added_fields: Vec<String>,
pub removed_fields: Vec<String>,
pub type_changes: Vec<FieldTypeChange>,
pub timestamp: DateTime<Utc>,
}Expand description
A record of a schema evolution event
Fields§
§id: Uuid§event_type: String§action: EvolutionAction§from_version: Option<u32>§to_version: Option<u32>§added_fields: Vec<String>§removed_fields: Vec<String>§type_changes: Vec<FieldTypeChange>§timestamp: DateTime<Utc>Trait Implementations§
Source§impl Clone for EvolutionRecord
impl Clone for EvolutionRecord
Source§fn clone(&self) -> EvolutionRecord
fn clone(&self) -> EvolutionRecord
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 EvolutionRecord
impl Debug for EvolutionRecord
Auto Trait Implementations§
impl Freeze for EvolutionRecord
impl RefUnwindSafe for EvolutionRecord
impl Send for EvolutionRecord
impl Sync for EvolutionRecord
impl Unpin for EvolutionRecord
impl UnsafeUnpin for EvolutionRecord
impl UnwindSafe for EvolutionRecord
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