Struct jormungandr_lib::interfaces::vote::VoteProposalDef
source · struct VoteProposalDef {
external_id: ExternalProposalId,
options: Options,
action: VoteAction,
}
Fields§
§external_id: ExternalProposalId
§options: Options
§action: VoteAction
Implementations§
source§impl<'de> VoteProposalDef
impl<'de> VoteProposalDef
fn deserialize<__D>(__deserializer: __D) -> Result<Proposal, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl From<VoteProposalDef> for Proposal
impl From<VoteProposalDef> for Proposal
source§fn from(vpd: VoteProposalDef) -> Self
fn from(vpd: VoteProposalDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for VoteProposalDef
impl Send for VoteProposalDef
impl Sync for VoteProposalDef
impl Unpin for VoteProposalDef
impl UnwindSafe for VoteProposalDef
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