nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

commit 4f40de4b1458251ad33244fc76bcc2a03d099e49
parent d1dc2d360cb66602466cb2547d08dac414e90752
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 17 Dec 2023 14:23:54 -0800

profile: make fields public

Diffstat:
Msrc/profile.rs | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/profile.rs b/src/profile.rs @@ -2,9 +2,9 @@ use crate::ndb_profile::{root_as_ndb_profile_record_unchecked, NdbProfileRecord} use crate::Transaction; pub struct ProfileRecord<'a> { - record: NdbProfileRecord<'a>, - primary_key: u64, - transaction: &'a Transaction, + pub record: NdbProfileRecord<'a>, + pub primary_key: u64, + pub transaction: &'a Transaction, } impl<'a> ProfileRecord<'a> {