Struct dao::voting_contracts::OnboardingVotingCreated
source · pub struct OnboardingVotingCreated { /* private fields */ }
Expand description
Event emitted when onboarding voting has been created.
Implementations§
source§impl OnboardingVotingCreated
impl OnboardingVotingCreated
pub fn new( reason: DocumentHash, cspr_deposit: Balance, info: VotingCreatedInfo ) -> Self
Trait Implementations§
source§impl BorshDeserialize for OnboardingVotingCreated
impl BorshDeserialize for OnboardingVotingCreated
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl BorshSerialize for OnboardingVotingCreated
impl BorshSerialize for OnboardingVotingCreated
source§impl Debug for OnboardingVotingCreated
impl Debug for OnboardingVotingCreated
source§impl OdraEvent for OnboardingVotingCreated
impl OdraEvent for OnboardingVotingCreated
source§impl PartialEq for OnboardingVotingCreated
impl PartialEq for OnboardingVotingCreated
source§fn eq(&self, other: &OnboardingVotingCreated) -> bool
fn eq(&self, other: &OnboardingVotingCreated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for OnboardingVotingCreated
impl StructuralPartialEq for OnboardingVotingCreated
Auto Trait Implementations§
impl RefUnwindSafe for OnboardingVotingCreated
impl Send for OnboardingVotingCreated
impl Sync for OnboardingVotingCreated
impl Unpin for OnboardingVotingCreated
impl UnwindSafe for OnboardingVotingCreated
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