Struct govern::ProposalCreateEvent
source · [−]pub struct ProposalCreateEvent {
pub governor: Pubkey,
pub proposal: Pubkey,
pub index: u64,
pub instructions: Vec<ProposalInstruction>,
}Expand description
Event called in govern::create_proposal.
Fields
governor: PubkeyThe governor.
proposal: PubkeyThe proposal being created.
index: u64The index of the Proposal.
instructions: Vec<ProposalInstruction>Instructions in the proposal.
Trait Implementations
sourceimpl BorshDeserialize for ProposalCreateEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
Vec<ProposalInstruction>: BorshDeserialize,
impl BorshDeserialize for ProposalCreateEvent where
Pubkey: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
Vec<ProposalInstruction>: BorshDeserialize,
sourceimpl BorshSerialize for ProposalCreateEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
Vec<ProposalInstruction>: BorshSerialize,
impl BorshSerialize for ProposalCreateEvent where
Pubkey: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
Vec<ProposalInstruction>: BorshSerialize,
sourceimpl Discriminator for ProposalCreateEvent
impl Discriminator for ProposalCreateEvent
fn discriminator() -> [u8; 8]
Auto Trait Implementations
impl RefUnwindSafe for ProposalCreateEvent
impl Send for ProposalCreateEvent
impl Sync for ProposalCreateEvent
impl Unpin for ProposalCreateEvent
impl UnwindSafe for ProposalCreateEvent
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