pub enum CompactKind {
Compact,
Trim,
}Expand description
改写历史的压缩,还是只清旧工具结果的修剪。
Variants§
Trait Implementations§
Source§impl Clone for CompactKind
impl Clone for CompactKind
impl Copy for CompactKind
Source§impl Debug for CompactKind
impl Debug for CompactKind
impl Eq for CompactKind
Source§impl JsonSchema for CompactKind
impl JsonSchema for CompactKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for CompactKind
impl PartialEq for CompactKind
Source§impl Serialize for CompactKind
impl Serialize for CompactKind
impl StructuralPartialEq for CompactKind
Auto Trait Implementations§
impl Forget for CompactKind
impl Freeze for CompactKind
impl Move for CompactKind
impl RefUnwindSafe for CompactKind
impl Send for CompactKind
impl Sync for CompactKind
impl Unpin for CompactKind
impl UnsafeUnpin for CompactKind
impl UnwindSafe for CompactKind
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