pub enum Operation {
Show 17 variants
Show {
patch_id: Rev,
diff: bool,
debug: bool,
},
Diff {
patch_id: Rev,
revision_id: Option<Rev>,
},
Update {
patch_id: Rev,
base_id: Option<Rev>,
message: Message,
},
Archive {
patch_id: Rev,
undo: bool,
},
Ready {
patch_id: Rev,
undo: bool,
},
Delete {
patch_id: Rev,
},
Checkout {
patch_id: Rev,
revision_id: Option<Rev>,
opts: Options,
},
Comment {
revision_id: Rev,
message: Message,
reply_to: Option<Rev>,
},
Review {
patch_id: Rev,
revision_id: Option<Rev>,
opts: Options,
},
Resolve {
patch_id: Rev,
review_id: Rev,
comment_id: Rev,
undo: bool,
},
Assign {
patch_id: Rev,
opts: AssignOptions,
},
Label {
patch_id: Rev,
opts: LabelOptions,
},
List {
filter: Option<Status>,
},
Edit {
patch_id: Rev,
revision_id: Option<Rev>,
message: Message,
},
Redact {
revision_id: Rev,
},
Set {
patch_id: Rev,
remote: Option<RefString>,
},
Cache {
patch_id: Option<Rev>,
storage: bool,
},
}Variants§
Show
Diff
Update
Archive
Ready
Delete
Checkout
Comment
Review
Resolve
Assign
Label
List
Edit
Redact
Set
Cache
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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