pub enum DatabasePublicationContractState {
Missing,
Valid,
Invalid,
}Expand description
Validation state of persisted publication-contract identity metadata.
Variants§
Missing
No contract fingerprint is present for this publication state.
Valid
The fingerprint is a validated lowercase 256-bit hexadecimal identity.
Invalid
Persisted metadata is not a safe runtime-owned fingerprint and was omitted.
Trait Implementations§
Source§impl Clone for DatabasePublicationContractState
impl Clone for DatabasePublicationContractState
Source§fn clone(&self) -> DatabasePublicationContractState
fn clone(&self) -> DatabasePublicationContractState
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 PartialEq for DatabasePublicationContractState
impl PartialEq for DatabasePublicationContractState
Source§fn eq(&self, other: &DatabasePublicationContractState) -> bool
fn eq(&self, other: &DatabasePublicationContractState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DatabasePublicationContractState
impl Eq for DatabasePublicationContractState
impl StructuralPartialEq for DatabasePublicationContractState
Auto Trait Implementations§
impl Freeze for DatabasePublicationContractState
impl RefUnwindSafe for DatabasePublicationContractState
impl Send for DatabasePublicationContractState
impl Sync for DatabasePublicationContractState
impl Unpin for DatabasePublicationContractState
impl UnwindSafe for DatabasePublicationContractState
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