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