pub struct Envelope {
pub batch_id: BatchId,
pub index: [u8; 8],
pub issuer: EthAddress,
pub signature: Signature,
pub timestamp: [u8; 8],
}Expand description
Per-chunk postage envelope returned by Stamper::stamp.
Mirrors bee-js EnvelopeWithBatchId and bee-go postage.Envelope.
Fields§
§batch_id: BatchIdBatch the chunk is stamped against.
index: [u8; 8]8 bytes: bucket (BE u32) || height (BE u32).
issuer: EthAddressIssuer (signer’s Ethereum address).
signature: Signature65-byte R || S || V signature with V ∈ {27, 28}.
timestamp: [u8; 8]8 bytes: Unix milliseconds (BE u64), matching bee-js Date.now().
Trait Implementations§
impl Eq for Envelope
impl StructuralPartialEq for Envelope
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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