pub enum ContinuedAction {
Edit {
kind: String,
path: Vec<PathStep>,
},
Verb {
action: ActionKey,
item: Option<String>,
},
}Expand description
What a continuation says its change is, in the terms a change’s claim is
written in, as the entry it continues says it: an edit of a resource kind
at a path (the whole resource for an empty one), or one of its verbs on an
item. A continuation writes it as one token: e:<kind>:<step>/… or
v:<app>/<kind>/<action>[:<item>], a step being f<field>, i<id>,
k<key> or c<row>:<column>.
Variants§
Implementations§
Source§impl ContinuedAction
impl ContinuedAction
Sourcepub fn invoker_of_message(message: &str) -> Option<Acting>
pub fn invoker_of_message(message: &str) -> Option<Acting>
Who made the gesture a continuation message continues, as its token
names them: None for a person’s own keystrokes, or a token that does
not read.
Sourcepub fn of_message(message: &str) -> Option<Self>
pub fn of_message(message: &str) -> Option<Self>
The claim a continuation message writes.
Trait Implementations§
Source§impl Clone for ContinuedAction
impl Clone for ContinuedAction
Source§impl Debug for ContinuedAction
impl Debug for ContinuedAction
impl Eq for ContinuedAction
Source§impl PartialEq for ContinuedAction
impl PartialEq for ContinuedAction
impl StructuralPartialEq for ContinuedAction
Auto Trait Implementations§
impl Forget for ContinuedAction
impl Freeze for ContinuedAction
impl Move for ContinuedAction
impl RefUnwindSafe for ContinuedAction
impl Send for ContinuedAction
impl Sync for ContinuedAction
impl Unpin for ContinuedAction
impl UnsafeUnpin for ContinuedAction
impl UnwindSafe for ContinuedAction
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