Struct fiberplane_models::notebooks::GraphCell
source · #[non_exhaustive]pub struct GraphCell {
pub id: String,
pub data_links: Vec<String>,
pub graph_type: GraphType,
pub read_only: Option<bool>,
pub stacking_type: StackingType,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: String§data_links: Vec<String>Links to the data to render in the graph.
graph_type: GraphType§read_only: Option<bool>§stacking_type: StackingTypeImplementations§
source§impl GraphCell
impl GraphCell
sourcepub fn builder() -> GraphCellBuilder<((), (), (), (), ())>
pub fn builder() -> GraphCellBuilder<((), (), (), (), ())>
Create a builder for building GraphCell.
On the builder, call .id(...)(optional), .data_links(...)(optional), .graph_type(...), .read_only(...)(optional), .stacking_type(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of GraphCell.
Trait Implementations§
source§impl<'de> Deserialize<'de> for GraphCell
impl<'de> Deserialize<'de> for GraphCell
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
source§impl PartialEq for GraphCell
impl PartialEq for GraphCell
impl Eq for GraphCell
impl StructuralPartialEq for GraphCell
Auto Trait Implementations§
impl Freeze for GraphCell
impl RefUnwindSafe for GraphCell
impl Send for GraphCell
impl Sync for GraphCell
impl Unpin for GraphCell
impl UnwindSafe for GraphCell
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