pub struct TxnHeader {
pub timestamp: Zoned,
pub code: Option<String>,
pub description: Option<String>,
pub uuid: Option<Uuid>,
pub extid: Option<String>,
pub location: Option<GeoPoint>,
pub tags: Option<Tags>,
pub comments: Option<Comments>,
}Expand description
Transaction Header Structure
Fields§
§timestamp: ZonedTxn timestamp with Zone information
code: Option<String>Txn Code field, if any
description: Option<String>Txn Description, if any
uuid: Option<Uuid>Txn UUID, if any. This is mandatory, if audit-mode is on
extid: Option<String>Txn ext-id, if any.
location: Option<GeoPoint>Txn location, if any
Txn tags, if any
comments: Option<Comments>Txn comments, if any
Implementations§
Trait Implementations§
impl Eq for TxnHeader
Source§impl Ord for TxnHeader
impl Ord for TxnHeader
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Auto Trait Implementations§
impl Freeze for TxnHeader
impl RefUnwindSafe for TxnHeader
impl Send for TxnHeader
impl Sync for TxnHeader
impl Unpin for TxnHeader
impl UnsafeUnpin for TxnHeader
impl UnwindSafe for TxnHeader
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