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