pub struct SchemaIdentity {
pub schema_version: Version,
pub types_schema_fingerprint: SchemaFingerprint,
pub record_schema_fingerprint: SchemaFingerprint,
pub command_schema_fingerprint: SchemaFingerprint,
pub event_schema_fingerprint: SchemaFingerprint,
}Expand description
Complete schema identity for compatibility checks.
Fields§
§schema_version: VersionSchema module version.
types_schema_fingerprint: SchemaFingerprintFingerprint of named enum/type definitions.
record_schema_fingerprint: SchemaFingerprintFingerprint of record definitions.
command_schema_fingerprint: SchemaFingerprintFingerprint of command definitions.
event_schema_fingerprint: SchemaFingerprintFingerprint of event definitions.
Trait Implementations§
Source§impl Clone for SchemaIdentity
impl Clone for SchemaIdentity
Source§fn clone(&self) -> SchemaIdentity
fn clone(&self) -> SchemaIdentity
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 SchemaIdentity
impl Debug for SchemaIdentity
Source§impl<'de> Deserialize<'de> for SchemaIdentity
impl<'de> Deserialize<'de> for SchemaIdentity
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 SchemaIdentity
impl PartialEq for SchemaIdentity
Source§impl Serialize for SchemaIdentity
impl Serialize for SchemaIdentity
impl Copy for SchemaIdentity
impl Eq for SchemaIdentity
impl StructuralPartialEq for SchemaIdentity
Auto Trait Implementations§
impl Freeze for SchemaIdentity
impl RefUnwindSafe for SchemaIdentity
impl Send for SchemaIdentity
impl Sync for SchemaIdentity
impl Unpin for SchemaIdentity
impl UnsafeUnpin for SchemaIdentity
impl UnwindSafe for SchemaIdentity
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