Struct dao::bid_escrow::events::BidEscrowSlashResults
source · pub struct BidEscrowSlashResults {
pub slashed_job_offers: Vec<JobOfferId>,
pub slashed_jobs: Vec<JobId>,
pub slashed_bids: Vec<BidId>,
pub cancelled_votings: Vec<VotingId>,
pub affected_votings: Vec<VotingId>,
}
Expand description
Events out the result of the slash in the BidEscrow contract.
Fields§
§slashed_job_offers: Vec<JobOfferId>
§slashed_jobs: Vec<JobId>
§slashed_bids: Vec<BidId>
§cancelled_votings: Vec<VotingId>
§affected_votings: Vec<VotingId>
Trait Implementations§
source§impl BorshDeserialize for BidEscrowSlashResults
impl BorshDeserialize for BidEscrowSlashResults
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 BidEscrowSlashResults
impl BorshSerialize for BidEscrowSlashResults
source§impl Debug for BidEscrowSlashResults
impl Debug for BidEscrowSlashResults
source§impl OdraEvent for BidEscrowSlashResults
impl OdraEvent for BidEscrowSlashResults
source§impl PartialEq for BidEscrowSlashResults
impl PartialEq for BidEscrowSlashResults
source§fn eq(&self, other: &BidEscrowSlashResults) -> bool
fn eq(&self, other: &BidEscrowSlashResults) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BidEscrowSlashResults
impl StructuralPartialEq for BidEscrowSlashResults
Auto Trait Implementations§
impl RefUnwindSafe for BidEscrowSlashResults
impl Send for BidEscrowSlashResults
impl Sync for BidEscrowSlashResults
impl Unpin for BidEscrowSlashResults
impl UnwindSafe for BidEscrowSlashResults
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