Struct sqlx_ledger::account::Account
source · pub struct Account<M> {
pub id: AccountId,
pub code: String,
pub name: String,
pub normal_balance_type: DebitOrCredit,
pub description: Option<String>,
pub status: Status,
pub metadata: Option<M>,
pub version: u32,
pub modified_at: DateTime<Utc>,
pub created_at: DateTime<Utc>,
}
Expand description
Representation of a ledger account entity.
Fields§
§id: AccountId
§code: String
§name: String
§normal_balance_type: DebitOrCredit
§description: Option<String>
§status: Status
§metadata: Option<M>
§version: u32
§modified_at: DateTime<Utc>
§created_at: DateTime<Utc>
Auto Trait Implementations§
impl<M> RefUnwindSafe for Account<M>where
M: RefUnwindSafe,
impl<M> Send for Account<M>where
M: Send,
impl<M> Sync for Account<M>where
M: Sync,
impl<M> Unpin for Account<M>where
M: Unpin,
impl<M> UnwindSafe for Account<M>where
M: UnwindSafe,
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