pub struct SheetProperties {
pub name: String,
pub state: String,
pub sheet_id: u32,
pub color: Color,
}Expand description
Information need to show a sheet tab in the UI The color is serialized only if it is not Color::None
Fields§
§name: String§state: String§sheet_id: u32§color: ColorTrait Implementations§
Source§impl Debug for SheetProperties
impl Debug for SheetProperties
Source§impl<'de> Deserialize<'de> for SheetProperties
impl<'de> Deserialize<'de> for SheetProperties
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 SheetProperties
impl PartialEq for SheetProperties
Source§fn eq(&self, other: &SheetProperties) -> bool
fn eq(&self, other: &SheetProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SheetProperties
impl Serialize for SheetProperties
impl StructuralPartialEq for SheetProperties
Auto Trait Implementations§
impl Freeze for SheetProperties
impl RefUnwindSafe for SheetProperties
impl Send for SheetProperties
impl Sync for SheetProperties
impl Unpin for SheetProperties
impl UnsafeUnpin for SheetProperties
impl UnwindSafe for SheetProperties
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