pub struct FlowNode {
pub id: String,
pub node_type: String,
pub position: Position,
pub data: Value,
}Fields§
§id: String§node_type: StringJSON key is type (matches React Flow + the TS FlowNodeDto); the Rust
field is named node_type because type is a reserved keyword.
position: Position§data: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for FlowNode
impl<'de> Deserialize<'de> for FlowNode
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 FlowNode
impl RefUnwindSafe for FlowNode
impl Send for FlowNode
impl Sync for FlowNode
impl Unpin for FlowNode
impl UnsafeUnpin for FlowNode
impl UnwindSafe for FlowNode
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