pub enum Pick {
Grantee,
Node,
Grant,
Resource {
kind: String,
},
}Expand description
What a parameter’s value names in the workspace, so a person picks it
from what is there instead of typing its encoding (PICK_ANNOTATION).
Variants§
Grantee
Who: a person, an agent or an app of the workspace, as a
tilo_action_policy::Grantee.
Node
Where: a node of the workspace’s tree, as its path below the workspace.
Grant
One of the workspace’s grants, by its id.
Resource
An existing resource of the workspace of kind kind (a note, a
file, an issue), found by the title its app publishes for it, as a
reference (resource_reference_schema). An agent passes the same
reference; nobody types an id.
Trait Implementations§
impl Eq for Pick
impl StructuralPartialEq for Pick
Auto Trait Implementations§
impl Forget for Pick
impl Freeze for Pick
impl Move for Pick
impl RefUnwindSafe for Pick
impl Send for Pick
impl Sync for Pick
impl Unpin for Pick
impl UnsafeUnpin for Pick
impl UnwindSafe for Pick
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more