pub struct CreateNode {
pub id: NodeId,
pub provenance_id: ProvenanceId,
pub owner: Owner,
pub short_name: String,
pub short_description: String,
pub long_description: String,
pub model_attribution: String,
pub fixed_connections: Vec<NodeId>,
pub recent_connections: Vec<NodeId>,
}Expand description
Complete input for Kmap::create_node.
Fields§
§id: NodeIdCaller-selected durable node identifier.
provenance_id: ProvenanceIdExisting provenance supporting the initial node state.
owner: OwnerRequested ownership state.
short_name: StringTrimmed display name containing 4–50 Unicode characters.
short_description: StringTrimmed summary containing at most 200 Unicode characters.
long_description: StringFull description containing at most 1,000 words.
model_attribution: StringOpaque 1–200 character caller attribution.
fixed_connections: Vec<NodeId>Complete ordered replacement array of fixed connections.
recent_connections: Vec<NodeId>Complete ordered replacement array of recent connections.
Trait Implementations§
Source§impl Clone for CreateNode
impl Clone for CreateNode
Source§fn clone(&self) -> CreateNode
fn clone(&self) -> CreateNode
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 moreAuto Trait Implementations§
impl Freeze for CreateNode
impl RefUnwindSafe for CreateNode
impl Send for CreateNode
impl Sync for CreateNode
impl Unpin for CreateNode
impl UnsafeUnpin for CreateNode
impl UnwindSafe for CreateNode
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