pub enum Decision {
Call,
Iterate {
index: String,
},
NeedsInput {
inputs: Vec<String>,
},
Personal,
Denied {
reason: String,
},
NotGetter,
}Expand description
What the capture does with one action.
Variants§
Call
A getter without input: called once.
Iterate
A getter whose only input is an index: called for each entry.
NeedsInput
A getter that needs other input: not called.
Personal
A getter for personal lists like calls or contacts: only called when asked for.
Denied
A getter that could return secrets: never called.
NotGetter
Not a getter: never called.
Trait Implementations§
impl Eq for Decision
impl StructuralPartialEq for Decision
Auto Trait Implementations§
impl Forget for Decision
impl Freeze for Decision
impl Move for Decision
impl RefUnwindSafe for Decision
impl Send for Decision
impl Sync for Decision
impl Unpin for Decision
impl UnsafeUnpin for Decision
impl UnwindSafe for Decision
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