pub struct RawSourceRecordV1 {
pub source_incarnation: SourceIncarnation,
pub partition_id: SourcePartitionId,
pub partition_incarnation: SourcePartitionIncarnation,
pub position: SourceCursorV1,
pub next_position: SourceCursorV1,
pub operation_id: SourceOperationId,
pub transaction: SourceTransactionMembershipV1,
pub key: Vec<u8>,
pub payload: Vec<u8>,
}Fields§
§source_incarnation: SourceIncarnation§partition_id: SourcePartitionId§partition_incarnation: SourcePartitionIncarnation§position: SourceCursorV1§next_position: SourceCursorV1§operation_id: SourceOperationId§transaction: SourceTransactionMembershipV1§key: Vec<u8>§payload: Vec<u8>Implementations§
Source§impl RawSourceRecordV1
impl RawSourceRecordV1
pub fn validate(&self) -> Result<(), SourceContractError>
Trait Implementations§
Source§impl Clone for RawSourceRecordV1
impl Clone for RawSourceRecordV1
Source§impl Debug for RawSourceRecordV1
impl Debug for RawSourceRecordV1
Source§impl<'de> Deserialize<'de> for RawSourceRecordV1
impl<'de> Deserialize<'de> for RawSourceRecordV1
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
impl Eq for RawSourceRecordV1
Source§impl PartialEq for RawSourceRecordV1
impl PartialEq for RawSourceRecordV1
Source§impl Serialize for RawSourceRecordV1
impl Serialize for RawSourceRecordV1
impl StructuralPartialEq for RawSourceRecordV1
Auto Trait Implementations§
impl Freeze for RawSourceRecordV1
impl RefUnwindSafe for RawSourceRecordV1
impl Send for RawSourceRecordV1
impl Sync for RawSourceRecordV1
impl Unpin for RawSourceRecordV1
impl UnsafeUnpin for RawSourceRecordV1
impl UnwindSafe for RawSourceRecordV1
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