pub struct MessageProof {
pub proof_set: Vec<Bytes32>,
pub proof_index: u64,
pub signature: Signature,
pub header: FuelBlockHeader,
pub sender: Address,
pub recipient: Address,
pub nonce: Bytes32,
pub amount: Word,
pub data: Vec<u8>,
}Fields§
§proof_set: Vec<Bytes32>The proof set of the message proof.
proof_index: u64The index used to generate this proof.
signature: SignatureThe signature of the fuel block.
header: FuelBlockHeaderThe fuel block header that contains the message.
sender: AddressThe messages sender address.
recipient: AddressThe messages recipient address.
nonce: Bytes32The nonce from the message.
amount: WordThe amount from the message.
data: Vec<u8>The data from the message.
Implementations§
Source§impl MessageProof
impl MessageProof
pub fn message_id(&self) -> MessageId
Auto Trait Implementations§
impl Freeze for MessageProof
impl RefUnwindSafe for MessageProof
impl Send for MessageProof
impl Sync for MessageProof
impl Unpin for MessageProof
impl UnwindSafe for MessageProof
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more