Struct concordium_base::updates::UpdateHeader
source · pub struct UpdateHeader {
pub seq_number: UpdateSequenceNumber,
pub effective_time: TransactionTime,
pub timeout: TransactionTime,
pub payload_size: PayloadSize,
}
Expand description
A header common to all update instructions.
Fields§
§seq_number: UpdateSequenceNumber
Sequence number of the update. Each update queue maintains its own sequence number.
effective_time: TransactionTime
An effective time of the update. 0 is used to mean “immediate”.
timeout: TransactionTime
Timeout of the update. The timeout must not be after the effective time.
payload_size: PayloadSize
Size of the update instruction payload.
Trait Implementations§
source§impl Clone for UpdateHeader
impl Clone for UpdateHeader
source§fn clone(&self) -> UpdateHeader
fn clone(&self) -> UpdateHeader
Returns a copy 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 UpdateHeader
impl Debug for UpdateHeader
source§impl Deserial for UpdateHeader
impl Deserial for UpdateHeader
fn deserial<GenericReaderType: ReadBytesExt>( source: &mut GenericReaderType ) -> ParseResult<Self>
source§impl Serial for UpdateHeader
impl Serial for UpdateHeader
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
impl Copy for UpdateHeader
Auto Trait Implementations§
impl RefUnwindSafe for UpdateHeader
impl Send for UpdateHeader
impl Sync for UpdateHeader
impl Unpin for UpdateHeader
impl UnwindSafe for UpdateHeader
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