#[non_exhaustive]pub enum SurfaceTableCellType {
EntityLink {
entity_type: SurfaceEntityType,
},
}Expand description
Cell type for a surface table column.
Forward compatibility: unknown kind values deserialize to None via
[deserialize_optional_cell_type] rather than Other(String), because
a completely unknown cell type has no meaningful rendering — silently
treating it as a plain-text column is safer than propagating an opaque value.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EntityLink
Fields
§
entity_type: SurfaceEntityTypeTrait Implementations§
Source§impl Clone for SurfaceTableCellType
impl Clone for SurfaceTableCellType
Source§fn clone(&self) -> SurfaceTableCellType
fn clone(&self) -> SurfaceTableCellType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SurfaceTableCellType
impl Debug for SurfaceTableCellType
Source§impl<'de> Deserialize<'de> for SurfaceTableCellType
impl<'de> Deserialize<'de> for SurfaceTableCellType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SurfaceTableCellType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SurfaceTableCellType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SurfaceTableCellType
Source§impl PartialEq for SurfaceTableCellType
impl PartialEq for SurfaceTableCellType
Source§impl Serialize for SurfaceTableCellType
impl Serialize for SurfaceTableCellType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SurfaceTableCellType
Auto Trait Implementations§
impl Freeze for SurfaceTableCellType
impl RefUnwindSafe for SurfaceTableCellType
impl Send for SurfaceTableCellType
impl Sync for SurfaceTableCellType
impl Unpin for SurfaceTableCellType
impl UnsafeUnpin for SurfaceTableCellType
impl UnwindSafe for SurfaceTableCellType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.