Struct cardano_serialization_lib::ProposedProtocolParameterUpdates [−][src]
pub struct ProposedProtocolParameterUpdates(_);
Implementations
pub fn from_bytes(
bytes: Vec<u8>
) -> Result<ProposedProtocolParameterUpdates, DeserializeError>
pub fn insert(
&mut self,
key: &GenesisHash,
value: &ProtocolParamUpdate
) -> Option<ProtocolParamUpdate>
Trait Implementations
fn deserialize<R: BufRead + Seek>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
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
fn serialize<'se, W: Write>(
&self,
serializer: &'se mut Serializer<W>
) -> Result<&'se mut Serializer<W>>
Auto Trait Implementations
impl Send for ProposedProtocolParameterUpdates
impl Sync for ProposedProtocolParameterUpdates
impl Unpin for ProposedProtocolParameterUpdates
Blanket Implementations
Mutably borrows from an owned value. Read more