pub struct FlowNote {
pub id: String,
pub text: String,
pub position: Option<Box<FlowNotePosition>>,
pub size: Option<Box<FlowNoteSize>>,
pub color: String,
pub type: Type,
pub locked: Option<bool>,
pub contained_node_ids: Option<Vec<String>>,
}Expand description
FlowNote : A sticky note attached to a flow for documentation and annotation
Fields§
§id: StringUnique identifier for the note
text: StringContent of the note
position: Option<Box<FlowNotePosition>>§size: Option<Box<FlowNoteSize>>§color: StringColor of the note (e.g., "yellow", "#ffff00")
type: TypeType of note - ‘free’ for standalone notes, ‘group’ for notes that group other nodes
locked: Option<bool>Whether the note is locked and cannot be edited or moved
contained_node_ids: Option<Vec<String>>For group notes, the IDs of nodes contained within this group
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlowNote
impl<'de> Deserialize<'de> for FlowNote
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
impl StructuralPartialEq for FlowNote
Auto Trait Implementations§
impl Freeze for FlowNote
impl RefUnwindSafe for FlowNote
impl Send for FlowNote
impl Sync for FlowNote
impl Unpin for FlowNote
impl UnwindSafe for FlowNote
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