pub struct DataClass {
pub name: &'static str,
pub display_behavior: DisplayBehavior,
}
Expand description
A data class has a name that acts as a key to allow it to be distinguished from other data classes.
Fields§
§name: &'static str
A key that allows data of different classes to be easily distinguished.
display_behavior: DisplayBehavior
What to do when displaying a classified value
Implementations§
Auto Trait Implementations§
impl Freeze for DataClass
impl RefUnwindSafe for DataClass
impl Send for DataClass
impl Sync for DataClass
impl Unpin for DataClass
impl UnwindSafe for DataClass
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