pub enum BlockchainProtocol {
V10(Box<V10Document>),
V11(),
}Expand description
List of blockchain protocol versions.
Variants§
Trait Implementations§
Source§impl Clone for BlockchainProtocol
impl Clone for BlockchainProtocol
Source§fn clone(&self) -> BlockchainProtocol
fn clone(&self) -> BlockchainProtocol
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 BlockchainProtocol
impl Debug for BlockchainProtocol
Source§impl IntoSpecializedDocument<BlockchainProtocol> for BlockDocument
impl IntoSpecializedDocument<BlockchainProtocol> for BlockDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl IntoSpecializedDocument<BlockchainProtocol> for CertificationDocument
impl IntoSpecializedDocument<BlockchainProtocol> for CertificationDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl IntoSpecializedDocument<BlockchainProtocol> for IdentityDocument
impl IntoSpecializedDocument<BlockchainProtocol> for IdentityDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl IntoSpecializedDocument<BlockchainProtocol> for MembershipDocument
impl IntoSpecializedDocument<BlockchainProtocol> for MembershipDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl IntoSpecializedDocument<BlockchainProtocol> for RevocationDocument
impl IntoSpecializedDocument<BlockchainProtocol> for RevocationDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Source§impl IntoSpecializedDocument<BlockchainProtocol> for TransactionDocument
impl IntoSpecializedDocument<BlockchainProtocol> for TransactionDocument
Source§fn into_specialized(self) -> BlockchainProtocol
fn into_specialized(self) -> BlockchainProtocol
Get a protocol-specific document wrapped in an enum variant.
Auto Trait Implementations§
impl Freeze for BlockchainProtocol
impl RefUnwindSafe for BlockchainProtocol
impl Send for BlockchainProtocol
impl Sync for BlockchainProtocol
impl Unpin for BlockchainProtocol
impl UnwindSafe for BlockchainProtocol
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