pub enum ExportFormat {
Md,
Html,
}Expand description
ISS-018 — Safe Export 输出格式。
MD / HTML 在本 phase 实装;PDF 留 phase 2(需 Rust PDF 库或浏览器侧 print)。
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExportFormat
impl Clone for ExportFormat
Source§fn clone(&self) -> ExportFormat
fn clone(&self) -> ExportFormat
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 ExportFormat
impl Debug for ExportFormat
Source§impl<'de> Deserialize<'de> for ExportFormat
impl<'de> Deserialize<'de> for ExportFormat
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 ExportFormat
impl PartialEq for ExportFormat
Source§fn eq(&self, other: &ExportFormat) -> bool
fn eq(&self, other: &ExportFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportFormat
impl Serialize for ExportFormat
impl Copy for ExportFormat
impl Eq for ExportFormat
impl StructuralPartialEq for ExportFormat
Auto Trait Implementations§
impl Freeze for ExportFormat
impl RefUnwindSafe for ExportFormat
impl Send for ExportFormat
impl Sync for ExportFormat
impl Unpin for ExportFormat
impl UnsafeUnpin for ExportFormat
impl UnwindSafe for ExportFormat
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