pub struct MemoryNodeView {
pub node_id: String,
pub node_kind: String,
pub title: String,
pub summary: String,
pub status: String,
pub labels: Vec<String>,
pub properties: BTreeMap<String, String>,
}Expand description
One node of a recalled bundle, as a consumer sees it.
A projection, never the aggregate. The kernel’s node gains fields as its domain needs them; a consumer that read it directly would inherit each one as a contract.
Fields§
§node_id: String§node_kind: String§title: String§summary: String§status: String§labels: Vec<String>§properties: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for MemoryNodeView
impl Clone for MemoryNodeView
Source§fn clone(&self) -> MemoryNodeView
fn clone(&self) -> MemoryNodeView
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 MemoryNodeView
impl Debug for MemoryNodeView
Source§impl<'de> Deserialize<'de> for MemoryNodeView
impl<'de> Deserialize<'de> for MemoryNodeView
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
impl Eq for MemoryNodeView
Source§impl PartialEq for MemoryNodeView
impl PartialEq for MemoryNodeView
Source§impl Serialize for MemoryNodeView
impl Serialize for MemoryNodeView
impl StructuralPartialEq for MemoryNodeView
Auto Trait Implementations§
impl Freeze for MemoryNodeView
impl RefUnwindSafe for MemoryNodeView
impl Send for MemoryNodeView
impl Sync for MemoryNodeView
impl Unpin for MemoryNodeView
impl UnsafeUnpin for MemoryNodeView
impl UnwindSafe for MemoryNodeView
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