pub struct DynamicGalaxy {
pub id: String,
pub name: String,
pub description: String,
pub cluster_tags: Vec<String>,
pub memory_count: usize,
pub created_at: u64,
pub effectiveness: f32,
}Expand description
A dynamically created galaxy from memory clustering.
Fields§
§id: StringUnique ID for the dynamic galaxy
name: StringHuman-readable name
description: StringDescription of what this galaxy contains
Tags that triggered the clustering
memory_count: usizeNumber of memories in this cluster
created_at: u64When this galaxy was created (Unix timestamp)
effectiveness: f32Effectiveness score (how useful this cluster has been)
Trait Implementations§
Source§impl Clone for DynamicGalaxy
impl Clone for DynamicGalaxy
Source§impl Debug for DynamicGalaxy
impl Debug for DynamicGalaxy
Source§impl<'de> Deserialize<'de> for DynamicGalaxy
impl<'de> Deserialize<'de> for DynamicGalaxy
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 DynamicGalaxy
impl RefUnwindSafe for DynamicGalaxy
impl Send for DynamicGalaxy
impl Sync for DynamicGalaxy
impl Unpin for DynamicGalaxy
impl UnsafeUnpin for DynamicGalaxy
impl UnwindSafe for DynamicGalaxy
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