pub struct RelationInfo {
pub source_id: CompactString,
pub relation: CompactString,
pub target_id: CompactString,
pub created_at: u64,
}Expand description
Summary of a memory relation.
Fields§
§source_id: CompactStringSource entity ID ({type}:{key}).
relation: CompactStringRelation type.
target_id: CompactStringTarget entity ID ({type}:{key}).
created_at: u64Unix timestamp of creation.
Trait Implementations§
Source§impl Clone for RelationInfo
impl Clone for RelationInfo
Source§fn clone(&self) -> RelationInfo
fn clone(&self) -> RelationInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 RelationInfo
impl Debug for RelationInfo
Source§impl<'de> Deserialize<'de> for RelationInfo
impl<'de> Deserialize<'de> for RelationInfo
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 RelationInfo
impl RefUnwindSafe for RelationInfo
impl Send for RelationInfo
impl Sync for RelationInfo
impl Unpin for RelationInfo
impl UnsafeUnpin for RelationInfo
impl UnwindSafe for RelationInfo
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