Struct fiberplane_models::notebooks::LogCell
source · #[non_exhaustive]pub struct LogCell {
pub id: String,
pub data_links: Vec<String>,
pub read_only: Option<bool>,
pub display_fields: Option<Vec<String>>,
pub hide_similar_values: Option<bool>,
pub expanded_indices: Option<Vec<LogRecordIndex>>,
pub visibility_filter: Option<LogVisibilityFilter>,
pub selected_indices: Option<Vec<LogRecordIndex>>,
pub highlighted_indices: Option<Vec<LogRecordIndex>>,
}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 log.
read_only: Option<bool>§display_fields: Option<Vec<String>>§hide_similar_values: Option<bool>§expanded_indices: Option<Vec<LogRecordIndex>>§visibility_filter: Option<LogVisibilityFilter>§selected_indices: Option<Vec<LogRecordIndex>>§highlighted_indices: Option<Vec<LogRecordIndex>>Implementations§
source§impl LogCell
impl LogCell
sourcepub fn builder() -> LogCellBuilder<((), (), (), (), (), (), (), (), ())>
pub fn builder() -> LogCellBuilder<((), (), (), (), (), (), (), (), ())>
Create a builder for building LogCell.
On the builder, call .id(...)(optional), .data_links(...)(optional), .read_only(...)(optional), .display_fields(...)(optional), .hide_similar_values(...)(optional), .expanded_indices(...)(optional), .visibility_filter(...)(optional), .selected_indices(...)(optional), .highlighted_indices(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of LogCell.
Trait Implementations§
source§impl<'de> Deserialize<'de> for LogCell
impl<'de> Deserialize<'de> for LogCell
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 LogCell
impl PartialEq for LogCell
impl Eq for LogCell
impl StructuralPartialEq for LogCell
Auto Trait Implementations§
impl Freeze for LogCell
impl RefUnwindSafe for LogCell
impl Send for LogCell
impl Sync for LogCell
impl Unpin for LogCell
impl UnwindSafe for LogCell
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