pub struct Journal {
pub id: String,
pub from_account: String,
pub to_account: String,
pub entry_type: JournalEntryType,
pub status: JournalStatus,
pub net_amount: Option<String>,
pub symbol: Option<String>,
pub qty: Option<String>,
pub description: Option<String>,
pub settle_date: Option<String>,
pub system_date: Option<String>,
}Expand description
Journal entry.
Fields§
§id: StringJournal ID.
from_account: StringFrom account ID.
to_account: StringTo account ID.
entry_type: JournalEntryTypeEntry type.
status: JournalStatusStatus.
net_amount: Option<String>Net amount.
symbol: Option<String>Symbol (for security journals).
qty: Option<String>Quantity (for security journals).
description: Option<String>Description.
settle_date: Option<String>Settle date.
system_date: Option<String>System date.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Journal
impl<'de> Deserialize<'de> for Journal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Journal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Journal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Journal
impl Serialize for Journal
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Journal
impl RefUnwindSafe for Journal
impl Send for Journal
impl Sync for Journal
impl Unpin for Journal
impl UnwindSafe for Journal
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