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