pub struct BountyRecord {
pub bounty_id: String,
pub title: String,
pub description: Option<String>,
pub reward: i64,
pub status: BountyStatus,
pub created_by: String,
pub created_at_ms: i64,
pub closed_at_ms: Option<i64>,
pub accepted_by: Option<String>,
pub accepted_at_ms: Option<i64>,
}Expand description
Bounty record for task rewards
Fields§
§bounty_id: String§title: String§description: Option<String>§reward: i64§status: BountyStatus§created_by: String§created_at_ms: i64§closed_at_ms: Option<i64>§accepted_by: Option<String>§accepted_at_ms: Option<i64>Trait Implementations§
Source§impl Clone for BountyRecord
impl Clone for BountyRecord
Source§fn clone(&self) -> BountyRecord
fn clone(&self) -> BountyRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BountyRecord
impl Debug for BountyRecord
Source§impl<'de> Deserialize<'de> for BountyRecord
impl<'de> Deserialize<'de> for BountyRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BountyRecord
impl RefUnwindSafe for BountyRecord
impl Send for BountyRecord
impl Sync for BountyRecord
impl Unpin for BountyRecord
impl UnsafeUnpin for BountyRecord
impl UnwindSafe for BountyRecord
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