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