pub enum ViewsPrompt {
Create(String),
Rename {
id: ViewId,
buffer: String,
},
ConfirmDelete {
id: ViewId,
name: String,
},
}Expand description
The inline prompt the modal is showing, if any (T027).
Variants§
Create(String)
Naming a new view, which is created from the live plan.
Rename
Renaming the view with this stable id.
ConfirmDelete
Confirming the definition-only delete of the view with this id.
Trait Implementations§
Source§impl Clone for ViewsPrompt
impl Clone for ViewsPrompt
Source§impl Debug for ViewsPrompt
impl Debug for ViewsPrompt
impl Eq for ViewsPrompt
Source§impl PartialEq for ViewsPrompt
impl PartialEq for ViewsPrompt
impl StructuralPartialEq for ViewsPrompt
Auto Trait Implementations§
impl Freeze for ViewsPrompt
impl RefUnwindSafe for ViewsPrompt
impl Send for ViewsPrompt
impl Sync for ViewsPrompt
impl Unpin for ViewsPrompt
impl UnsafeUnpin for ViewsPrompt
impl UnwindSafe for ViewsPrompt
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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