pub struct VersionedEntry {
pub version: (u16, u16, u16),
pub entry_type: String,
pub payload: Vec<u8>,
}Expand description
Versioned journal entry for schema evolution [50].
Fields§
§version: (u16, u16, u16)Schema version (SemVer-style).
entry_type: StringEntry type tag.
payload: Vec<u8>Payload (version-specific).
Implementations§
Trait Implementations§
Source§impl Clone for VersionedEntry
impl Clone for VersionedEntry
Source§fn clone(&self) -> VersionedEntry
fn clone(&self) -> VersionedEntry
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 VersionedEntry
impl Debug for VersionedEntry
Source§impl<'de> Deserialize<'de> for VersionedEntry
impl<'de> Deserialize<'de> for VersionedEntry
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 VersionedEntry
impl RefUnwindSafe for VersionedEntry
impl Send for VersionedEntry
impl Sync for VersionedEntry
impl Unpin for VersionedEntry
impl UnsafeUnpin for VersionedEntry
impl UnwindSafe for VersionedEntry
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