pub struct ProfileRecord {
pub id: String,
pub description: String,
pub consumer_kind: String,
pub state_class: String,
pub lifecycle: ProfileLifecycle,
pub created_at: DateTime<Utc>,
pub state_snapshot: Option<Value>,
pub total_events: u64,
pub exploration_epoch: u64,
}Expand description
Profile metadata stored in the registry (ADR-032 §2).
Fields§
§id: String§description: String§consumer_kind: String§state_class: String§lifecycle: ProfileLifecycle§created_at: DateTime<Utc>§state_snapshot: Option<Value>Serialized state snapshot (opaque bytes to brain core)
total_events: u64§exploration_epoch: u64Implementations§
Source§impl ProfileRecord
impl ProfileRecord
pub fn new_balanced_recall(entity_capacity: usize) -> Self
Trait Implementations§
Source§impl Clone for ProfileRecord
impl Clone for ProfileRecord
Source§fn clone(&self) -> ProfileRecord
fn clone(&self) -> ProfileRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileRecord
impl Debug for ProfileRecord
Source§impl<'de> Deserialize<'de> for ProfileRecord
impl<'de> Deserialize<'de> for ProfileRecord
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 ProfileRecord
impl RefUnwindSafe for ProfileRecord
impl Send for ProfileRecord
impl Sync for ProfileRecord
impl Unpin for ProfileRecord
impl UnsafeUnpin for ProfileRecord
impl UnwindSafe for ProfileRecord
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