Struct commit_verify::multi_commit::MultiCommitItem [−][src]
pub struct MultiCommitItem {
pub protocol: Option<ProtocolId>,
pub message: Message,
}Expand description
Single item within a multi-message commitment, consisting of optional protocol information (if known) and the actual single message commitment
Fields
protocol: Option<ProtocolId>Protocol identifier, which may be hidden or absent for commitment placeholders
message: MessageMessage commitment (LNPBP-4 tagged hash of the message)
Implementations
Constructs multi-message commitment item for a given protocol
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Decode with the given [std::io::Reader] instance; must either construct an instance or return implementation-specific error type. Read more
Encode with the given [std::io::Writer] instance; must return result with either amount of bytes encoded – or implementation-specific error type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MultiCommitItem
impl Send for MultiCommitItem
impl Sync for MultiCommitItem
impl Unpin for MultiCommitItem
impl UnwindSafe for MultiCommitItem
Blanket Implementations
Mutably borrows from an owned value. Read more