pub struct AtomicSourcePublicationV1 {
pub format_version: u16,
pub collection_index_ref: CollectionIndexRef,
pub source_incarnation: SourceIncarnation,
pub batch_id: SourceBatchId,
pub expected_cut: SourceCutV1,
pub replacement_cut: SourceCutV1,
pub operation_count: u32,
pub operation_set_digest: [u8; 32],
pub committed_transactions: Vec<SourceTransactionId>,
pub shard_publications: Vec<SourceShardPublicationV1>,
}Expand description
The sole bounded multi-shard publication primitive for one replayable source batch. It is internal authority state, not a client transaction.
Fields§
§format_version: u16§collection_index_ref: CollectionIndexRef§source_incarnation: SourceIncarnation§batch_id: SourceBatchId§expected_cut: SourceCutV1§replacement_cut: SourceCutV1§operation_count: u32§operation_set_digest: [u8; 32]§committed_transactions: Vec<SourceTransactionId>§shard_publications: Vec<SourceShardPublicationV1>Implementations§
Source§impl AtomicSourcePublicationV1
impl AtomicSourcePublicationV1
pub fn validate(&self) -> Result<(), SourceContractError>
pub fn validate_against_batch( &self, batch: &SourceBatchV1, ) -> Result<(), SourceContractError>
Trait Implementations§
Source§impl Clone for AtomicSourcePublicationV1
impl Clone for AtomicSourcePublicationV1
Source§impl Debug for AtomicSourcePublicationV1
impl Debug for AtomicSourcePublicationV1
Source§impl<'de> Deserialize<'de> for AtomicSourcePublicationV1
impl<'de> Deserialize<'de> for AtomicSourcePublicationV1
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 AtomicSourcePublicationV1
impl StructuralPartialEq for AtomicSourcePublicationV1
Auto Trait Implementations§
impl Freeze for AtomicSourcePublicationV1
impl RefUnwindSafe for AtomicSourcePublicationV1
impl Send for AtomicSourcePublicationV1
impl Sync for AtomicSourcePublicationV1
impl Unpin for AtomicSourcePublicationV1
impl UnsafeUnpin for AtomicSourcePublicationV1
impl UnwindSafe for AtomicSourcePublicationV1
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