pub struct JournalEntry {Show 13 fields
pub amount: Option<f64>,
pub balance: Option<f64>,
pub context_id: Option<i64>,
pub context_id_type: Option<JournalContextType>,
pub date: String,
pub description: String,
pub first_party_id: Option<i64>,
pub id: i64,
pub reason: Option<String>,
pub ref_type: String,
pub second_party_id: Option<i64>,
pub tax: Option<f64>,
pub tax_receiver_id: Option<i64>,
}Expand description
An entry of a wallet journal.
Fields§
§amount: Option<f64>§balance: Option<f64>§context_id: Option<i64>§context_id_type: Option<JournalContextType>§date: String§description: String§first_party_id: Option<i64>§id: i64§reason: Option<String>§ref_type: StringThe kind of transaction, such as bounty_prizes or player_trading.
ESI defines more than 160 values, so it is kept as a string.
second_party_id: Option<i64>§tax: Option<f64>§tax_receiver_id: Option<i64>Trait Implementations§
Source§impl Clone for JournalEntry
impl Clone for JournalEntry
Source§impl Debug for JournalEntry
impl Debug for JournalEntry
Source§impl<'de> Deserialize<'de> for JournalEntry
impl<'de> Deserialize<'de> for JournalEntry
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
Source§impl PartialEq for JournalEntry
impl PartialEq for JournalEntry
impl StructuralPartialEq for JournalEntry
Auto Trait Implementations§
impl Freeze for JournalEntry
impl RefUnwindSafe for JournalEntry
impl Send for JournalEntry
impl Sync for JournalEntry
impl Unpin for JournalEntry
impl UnsafeUnpin for JournalEntry
impl UnwindSafe for JournalEntry
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