pub enum OkfOp {
New {
file: String,
type_: String,
title: Option<String>,
description: Option<String>,
tags: Vec<String>,
body: Option<String>,
},
Set {
file: String,
field: String,
value: String,
},
Log {
base: Option<String>,
kind: String,
message: String,
},
Index {
base: Option<String>,
},
Init {
base: Option<String>,
},
}Expand description
One compiled okf mutation.
Variants§
Trait Implementations§
impl Eq for OkfOp
impl StructuralPartialEq for OkfOp
Auto Trait Implementations§
impl Freeze for OkfOp
impl RefUnwindSafe for OkfOp
impl Send for OkfOp
impl Sync for OkfOp
impl Unpin for OkfOp
impl UnsafeUnpin for OkfOp
impl UnwindSafe for OkfOp
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