pub struct NodeContents {
pub short_name: String,
pub short_description: String,
pub long_description: String,
pub owner: Owner,
pub fixed_connections: Vec<NodeId>,
pub recent_connections: Vec<NodeId>,
}Expand description
Node fields editable by ordinary Kennedy Kweb mutations.
Object references are intentionally absent. New nodes start without objects, and updates preserve the current object list.
Fields§
§short_name: String§short_description: String§long_description: String§owner: Owner§fixed_connections: Vec<NodeId>§recent_connections: Vec<NodeId>Trait Implementations§
Source§impl Clone for NodeContents
impl Clone for NodeContents
Source§fn clone(&self) -> NodeContents
fn clone(&self) -> NodeContents
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 NodeContents
impl Debug for NodeContents
impl Eq for NodeContents
Source§impl PartialEq for NodeContents
impl PartialEq for NodeContents
impl StructuralPartialEq for NodeContents
Auto Trait Implementations§
impl Freeze for NodeContents
impl RefUnwindSafe for NodeContents
impl Send for NodeContents
impl Sync for NodeContents
impl Unpin for NodeContents
impl UnsafeUnpin for NodeContents
impl UnwindSafe for NodeContents
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