Struct dao::bid_escrow::events::BidCancelled
source · pub struct BidCancelled { /* private fields */ }
Expand description
Event emitted when that a Bid has been cancelled.
Implementations§
source§impl BidCancelled
impl BidCancelled
sourcepub fn new(bid_id: BidId, caller: Address, job_offer_id: JobOfferId) -> Self
pub fn new(bid_id: BidId, caller: Address, job_offer_id: JobOfferId) -> Self
Creates a new event.
Trait Implementations§
source§impl BorshDeserialize for BidCancelled
impl BorshDeserialize for BidCancelled
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 BidCancelled
impl BorshSerialize for BidCancelled
source§impl Debug for BidCancelled
impl Debug for BidCancelled
source§impl OdraEvent for BidCancelled
impl OdraEvent for BidCancelled
source§impl PartialEq for BidCancelled
impl PartialEq for BidCancelled
source§fn eq(&self, other: &BidCancelled) -> bool
fn eq(&self, other: &BidCancelled) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BidCancelled
impl StructuralPartialEq for BidCancelled
Auto Trait Implementations§
impl RefUnwindSafe for BidCancelled
impl Send for BidCancelled
impl Sync for BidCancelled
impl Unpin for BidCancelled
impl UnwindSafe for BidCancelled
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