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, one of: yellow, blue, green, purple, pink, orange, red, cyan, lime, gray. Any other value renders unstyled.
type: TypeType of note - ‘free’ for standalone notes. ‘group’ notes are deprecated; segment a flow with FlowValue.groups instead.
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 Forget for FlowNote
impl Freeze for FlowNotewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const FlowNotePosition is !null: Freeze,
PhantomData<FlowNotePosition>: Freeze,
*const FlowNoteSize is !null: Freeze,
PhantomData<FlowNoteSize>: Freeze,
PhantomData<String>: Freeze,
impl Move for FlowNote
impl RefUnwindSafe for FlowNote
impl Send for FlowNote
impl Sync for FlowNote
impl Unpin for FlowNote
impl UnsafeUnpin for FlowNotewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const FlowNotePosition is !null: UnsafeUnpin,
PhantomData<FlowNotePosition>: UnsafeUnpin,
*const FlowNoteSize is !null: UnsafeUnpin,
PhantomData<FlowNoteSize>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for FlowNotewhere
RawVecInner: UnwindSafe,
BoxRaw<FlowNotePosition>: UnwindSafe,
BoxRaw<FlowNoteSize>: UnwindSafe,
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