pub struct LedgerEntry {
pub dhan_client_id: Option<String>,
pub narration: Option<String>,
pub voucherdate: Option<String>,
pub exchange: Option<String>,
pub voucherdesc: Option<String>,
pub vouchernumber: Option<String>,
pub debit: Option<String>,
pub credit: Option<String>,
pub runbal: Option<String>,
}Expand description
A single ledger entry from the trading account.
Returned by GET /v2/ledger?from-date={}&to-date={}.
Fields§
§dhan_client_id: Option<String>§narration: Option<String>§voucherdate: Option<String>§exchange: Option<String>§voucherdesc: Option<String>§vouchernumber: Option<String>§debit: Option<String>§credit: Option<String>§runbal: Option<String>Trait Implementations§
Source§impl Clone for LedgerEntry
impl Clone for LedgerEntry
Source§fn clone(&self) -> LedgerEntry
fn clone(&self) -> LedgerEntry
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 LedgerEntry
impl Debug for LedgerEntry
Source§impl<'de> Deserialize<'de> for LedgerEntry
impl<'de> Deserialize<'de> for LedgerEntry
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 LedgerEntry
impl RefUnwindSafe for LedgerEntry
impl Send for LedgerEntry
impl Sync for LedgerEntry
impl Unpin for LedgerEntry
impl UnsafeUnpin for LedgerEntry
impl UnwindSafe for LedgerEntry
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