Struct concordium_base::updates::ProtocolUpdate
source · pub struct ProtocolUpdate {
pub message: String,
pub specification_url: String,
pub specification_hash: Hash,
pub specification_auxiliary_data: Vec<u8>,
}
Expand description
A generic protocol update. This is essentially an announcement of the update. The details of the update will be communicated in some off-chain way, and bakers will need to update their node software to support the update.
Fields§
§message: String
§specification_url: String
§specification_hash: Hash
§specification_auxiliary_data: Vec<u8>
Trait Implementations§
source§impl Clone for ProtocolUpdate
impl Clone for ProtocolUpdate
source§fn clone(&self) -> ProtocolUpdate
fn clone(&self) -> ProtocolUpdate
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 ProtocolUpdate
impl Debug for ProtocolUpdate
source§impl Deserial for ProtocolUpdate
impl Deserial for ProtocolUpdate
fn deserial<R: ReadBytesExt>(source: &mut R) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for ProtocolUpdate
impl<'de> Deserialize<'de> for ProtocolUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ProtocolUpdate
impl Send for ProtocolUpdate
impl Sync for ProtocolUpdate
impl Unpin for ProtocolUpdate
impl UnwindSafe for ProtocolUpdate
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