#[non_exhaustive]pub enum HelpTopicText {
Missing,
Na,
Invalid(String),
Text(String),
}Expand description
A topic name, title, or source file name in help-topic metadata.
Missing columns, R NA, and malformed values remain distinct. An invalid
optional field does not prevent reading the other fields or rows.
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.
Missing
The column is absent.
Na
The stored character value is R NA.
Invalid(String)
The column has the wrong type, this row is absent, the column exceeds the row count, or the string cannot be decoded. The explanation is diagnostic text, not a stable machine-readable format.
Text(String)
A decoded value, including an empty string.
Implementations§
Trait Implementations§
Source§impl Clone for HelpTopicText
impl Clone for HelpTopicText
Source§impl Debug for HelpTopicText
impl Debug for HelpTopicText
impl Eq for HelpTopicText
Source§impl PartialEq for HelpTopicText
impl PartialEq for HelpTopicText
impl StructuralPartialEq for HelpTopicText
Auto Trait Implementations§
impl Freeze for HelpTopicText
impl RefUnwindSafe for HelpTopicText
impl Send for HelpTopicText
impl Sync for HelpTopicText
impl Unpin for HelpTopicText
impl UnsafeUnpin for HelpTopicText
impl UnwindSafe for HelpTopicText
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