pub struct Earning {
pub amount: Option<f64>,
pub created_at: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
See the HackerOne API reference for Earning.
Fields§
§amount: Option<f64>amount
created_at: Option<String>created_at
extra: BTreeMap<String, Value>Fields the API returned that this version does not name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Earning
impl<'de> Deserialize<'de> for Earning
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 Earning
impl RefUnwindSafe for Earning
impl Send for Earning
impl Sync for Earning
impl Unpin for Earning
impl UnsafeUnpin for Earning
impl UnwindSafe for Earning
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