pub enum ContextAddTarget {
Block(String),
Results,
Children {
parent_id: String,
},
Path {
from_id: String,
to_id: String,
},
}Expand description
Target for CTX ADD command
Variants§
Block(String)
Add a single block
Results
Add all results from last search/find
Children
Add all children of a block
Path
Add all blocks in a path
Trait Implementations§
Source§impl Clone for ContextAddTarget
impl Clone for ContextAddTarget
Source§fn clone(&self) -> ContextAddTarget
fn clone(&self) -> ContextAddTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextAddTarget
impl Debug for ContextAddTarget
Source§impl<'de> Deserialize<'de> for ContextAddTarget
impl<'de> Deserialize<'de> for ContextAddTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContextAddTarget
impl PartialEq for ContextAddTarget
Source§impl Serialize for ContextAddTarget
impl Serialize for ContextAddTarget
impl StructuralPartialEq for ContextAddTarget
Auto Trait Implementations§
impl Freeze for ContextAddTarget
impl RefUnwindSafe for ContextAddTarget
impl Send for ContextAddTarget
impl Sync for ContextAddTarget
impl Unpin for ContextAddTarget
impl UnwindSafe for ContextAddTarget
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