Struct jormungandr_lib::interfaces::updates::UpdateProposalDef
source · pub struct UpdateProposalDef {
pub config_params: ConfigParams,
pub proposer_id: ConsensusLeaderId,
}
Fields§
§config_params: ConfigParams
§proposer_id: ConsensusLeaderId
Trait Implementations§
source§impl Debug for UpdateProposalDef
impl Debug for UpdateProposalDef
source§impl<'de> Deserialize<'de> for UpdateProposalDef
impl<'de> Deserialize<'de> for UpdateProposalDef
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
source§impl Serialize for UpdateProposalDef
impl Serialize for UpdateProposalDef
source§impl TryFrom<UpdateProposal> for UpdateProposalDef
impl TryFrom<UpdateProposal> for UpdateProposalDef
§type Error = FromConfigParamError
type Error = FromConfigParamError
The type returned in the event of a conversion error.
source§fn try_from(
update_proposal: UpdateProposal
) -> Result<Self, FromConfigParamError>
fn try_from( update_proposal: UpdateProposal ) -> Result<Self, FromConfigParamError>
Performs the conversion.
Auto Trait Implementations§
impl RefUnwindSafe for UpdateProposalDef
impl Send for UpdateProposalDef
impl Sync for UpdateProposalDef
impl Unpin for UpdateProposalDef
impl UnwindSafe for UpdateProposalDef
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