pub enum RevisionQueryTarget {
Live,
RevisionId {
revision_id: RevisionId,
},
Selector {
selector: RevisionSelector,
},
}Expand description
Explicit query target for revision-aware daemon searches.
Variants§
Live
Query the currently loaded live workspace.
RevisionId
Query by resident revision handle.
Fields
§
revision_id: RevisionIdLoaded revision id.
Selector
Resolve and query this selector if a matching resident handle exists.
Fields
§
selector: RevisionSelectorCaller selector.
Trait Implementations§
Source§impl Clone for RevisionQueryTarget
impl Clone for RevisionQueryTarget
Source§fn clone(&self) -> RevisionQueryTarget
fn clone(&self) -> RevisionQueryTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RevisionQueryTarget
impl Debug for RevisionQueryTarget
Source§impl<'de> Deserialize<'de> for RevisionQueryTarget
impl<'de> Deserialize<'de> for RevisionQueryTarget
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
impl Eq for RevisionQueryTarget
Source§impl PartialEq for RevisionQueryTarget
impl PartialEq for RevisionQueryTarget
Source§fn eq(&self, other: &RevisionQueryTarget) -> bool
fn eq(&self, other: &RevisionQueryTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevisionQueryTarget
impl Serialize for RevisionQueryTarget
impl StructuralPartialEq for RevisionQueryTarget
Auto Trait Implementations§
impl Freeze for RevisionQueryTarget
impl RefUnwindSafe for RevisionQueryTarget
impl Send for RevisionQueryTarget
impl Sync for RevisionQueryTarget
impl Unpin for RevisionQueryTarget
impl UnsafeUnpin for RevisionQueryTarget
impl UnwindSafe for RevisionQueryTarget
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