Struct govern::ProposalMetaCreateEvent
source · [−]pub struct ProposalMetaCreateEvent {
pub governor: Pubkey,
pub proposal: Pubkey,
pub title: String,
pub description_link: String,
}Expand description
Event called in govern::create_proposal_meta.
Fields
governor: PubkeyThe governor.
proposal: PubkeyThe proposal being voted on.
title: StringThe title.
description_link: StringThe description.
Trait Implementations
sourceimpl BorshDeserialize for ProposalMetaCreateEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
impl BorshDeserialize for ProposalMetaCreateEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
String: BorshDeserialize,
String: BorshDeserialize,
sourceimpl BorshSerialize for ProposalMetaCreateEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
String: BorshSerialize,
String: BorshSerialize,
impl BorshSerialize for ProposalMetaCreateEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
String: BorshSerialize,
String: BorshSerialize,
sourceimpl Discriminator for ProposalMetaCreateEvent
impl Discriminator for ProposalMetaCreateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for ProposalMetaCreateEvent
impl Send for ProposalMetaCreateEvent
impl Sync for ProposalMetaCreateEvent
impl Unpin for ProposalMetaCreateEvent
impl UnwindSafe for ProposalMetaCreateEvent
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more