pub struct Node {
pub id: NodeId,
pub short_name: String,
pub short_description: String,
pub long_description: String,
pub last_modified_by: String,
pub last_modified_at: String,
pub owner_node_id: Option<NodeId>,
pub fixed_connections: Vec<NodeId>,
pub recent_connections: Vec<NodeId>,
}Expand description
The complete current state of a knowledge node.
Fields§
§id: NodeIdDurable node identifier.
short_name: StringTrimmed display name containing 4–50 Unicode characters.
short_description: StringTrimmed summary containing at most 200 Unicode characters.
long_description: StringFull caller-controlled description containing at most 1,000 words.
last_modified_by: StringOpaque caller attribution for the latest mutation.
last_modified_at: StringLibrary-generated RFC 3339 timestamp of the latest mutation.
owner_node_id: Option<NodeId>Owner node, self, or None for an explicitly unowned node.
fixed_connections: Vec<NodeId>Ordered fixed-connection identifiers with no library-assigned policy.
recent_connections: Vec<NodeId>Ordered recent-connection identifiers with no library-assigned policy.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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