pub struct IndexPublication {
pub state: IndexPublicationState,
pub contract_fingerprint: Option<String>,
pub generation: IndexGeneration,
}Expand description
Persisted state needed to reject mixed or incompatible derived projections.
Fields§
§state: IndexPublicationStateCurrent publication state.
contract_fingerprint: Option<String>Contract fingerprint recorded by the last complete publication.
generation: IndexGenerationMonotonic generation of the last complete derived index.
Trait Implementations§
Source§impl Clone for IndexPublication
impl Clone for IndexPublication
Source§fn clone(&self) -> IndexPublication
fn clone(&self) -> IndexPublication
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 IndexPublication
impl Debug for IndexPublication
Source§impl<'de> Deserialize<'de> for IndexPublication
impl<'de> Deserialize<'de> for IndexPublication
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 IndexPublication
impl PartialEq for IndexPublication
Source§impl Serialize for IndexPublication
impl Serialize for IndexPublication
impl Eq for IndexPublication
impl StructuralPartialEq for IndexPublication
Auto Trait Implementations§
impl Freeze for IndexPublication
impl RefUnwindSafe for IndexPublication
impl Send for IndexPublication
impl Sync for IndexPublication
impl Unpin for IndexPublication
impl UnwindSafe for IndexPublication
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more