pub trait PortfolioSnapshotWriter: Send + Sync {
// Required method
fn write_portfolio_snapshot_sync(
&self,
input: &PortfolioSnapshotInput,
) -> Result<i64>;
}Expand description
Portfolio snapshot persistence.
Required Methods§
Sourcefn write_portfolio_snapshot_sync(
&self,
input: &PortfolioSnapshotInput,
) -> Result<i64>
fn write_portfolio_snapshot_sync( &self, input: &PortfolioSnapshotInput, ) -> Result<i64>
Write a complete portfolio snapshot in a single transaction. Returns the new snapshot ID.