Struct fiberplane_models::notebooks::CheckboxCell
source · #[non_exhaustive]pub struct CheckboxCell {
pub id: String,
pub checked: bool,
pub content: String,
pub formatting: Formatting,
pub level: Option<u8>,
pub read_only: Option<bool>,
}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§checked: bool§content: String§formatting: FormattingOptional formatting to be applied to the cell’s content.
level: Option<u8>§read_only: Option<bool>Implementations§
source§impl CheckboxCell
impl CheckboxCell
sourcepub fn builder() -> CheckboxCellBuilder<((), (), (), (), (), ())>
pub fn builder() -> CheckboxCellBuilder<((), (), (), (), (), ())>
Create a builder for building CheckboxCell.
On the builder, call .id(...)(optional), .checked(...)(optional), .content(...)(optional), .formatting(...)(optional), .level(...)(optional), .read_only(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of CheckboxCell.
Trait Implementations§
source§impl Clone for CheckboxCell
impl Clone for CheckboxCell
source§fn clone(&self) -> CheckboxCell
fn clone(&self) -> CheckboxCell
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CheckboxCell
impl Debug for CheckboxCell
source§impl Default for CheckboxCell
impl Default for CheckboxCell
source§fn default() -> CheckboxCell
fn default() -> CheckboxCell
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CheckboxCell
impl<'de> Deserialize<'de> for CheckboxCell
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 CheckboxCell
impl PartialEq for CheckboxCell
source§fn eq(&self, other: &CheckboxCell) -> bool
fn eq(&self, other: &CheckboxCell) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CheckboxCell
impl Serialize for CheckboxCell
impl Eq for CheckboxCell
impl StructuralPartialEq for CheckboxCell
Auto Trait Implementations§
impl Freeze for CheckboxCell
impl RefUnwindSafe for CheckboxCell
impl Send for CheckboxCell
impl Sync for CheckboxCell
impl Unpin for CheckboxCell
impl UnwindSafe for CheckboxCell
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