pub struct StaticNode {Show 21 fields
pub nodeid: String,
pub name: String,
pub alias: Option<String>,
pub datatype: String,
pub nodegroup_id: Option<String>,
pub graph_id: String,
pub is_collector: bool,
pub isrequired: bool,
pub exportable: bool,
pub sortorder: Option<i32>,
pub config: HashMap<String, Value>,
pub parentproperty: Option<String>,
pub ontologyclass: Option<Vec<String>>,
pub description: Option<StaticTranslatableString>,
pub fieldname: Option<String>,
pub hascustomalias: bool,
pub issearchable: bool,
pub istopnode: bool,
pub sourcebranchpublication_id: Option<String>,
pub source_identifier_id: Option<String>,
pub is_immutable: Option<bool>,
}Expand description
A node in the graph representing a data field or structural element
Fields§
§nodeid: String§name: String§alias: Option<String>§datatype: String§nodegroup_id: Option<String>§graph_id: String§is_collector: bool§isrequired: bool§exportable: bool§sortorder: Option<i32>§config: HashMap<String, Value>§parentproperty: Option<String>§ontologyclass: Option<Vec<String>>Ontology class URIs for this node. Accepts a single string or an array of strings on the wire; a single-element list is serialised as a plain string for round-trip compatibility with upstream Arches.
description: Option<StaticTranslatableString>§fieldname: Option<String>§hascustomalias: bool§issearchable: bool§istopnode: bool§sourcebranchpublication_id: Option<String>§source_identifier_id: Option<String>Source identifier for import/export tracking
is_immutable: Option<bool>Whether node is immutable
Implementations§
Source§impl StaticNode
impl StaticNode
Trait Implementations§
Source§impl Clone for StaticNode
impl Clone for StaticNode
Source§fn clone(&self) -> StaticNode
fn clone(&self) -> StaticNode
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 StaticNode
impl Debug for StaticNode
Source§impl<'de> Deserialize<'de> for StaticNode
impl<'de> Deserialize<'de> for StaticNode
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 StaticNode
impl RefUnwindSafe for StaticNode
impl Send for StaticNode
impl Sync for StaticNode
impl Unpin for StaticNode
impl UnsafeUnpin for StaticNode
impl UnwindSafe for StaticNode
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