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