pub enum ProjectScope {
Single(ProjectId),
Multiple(Vec<ProjectId>),
All,
}Expand description
Project scope for search
Variants§
Single(ProjectId)
Search in a single project
Multiple(Vec<ProjectId>)
Search in multiple specific projects
All
Search across all projects
Trait Implementations§
Source§impl Clone for ProjectScope
impl Clone for ProjectScope
Source§fn clone(&self) -> ProjectScope
fn clone(&self) -> ProjectScope
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 ProjectScope
impl Debug for ProjectScope
Source§impl Default for ProjectScope
impl Default for ProjectScope
Source§impl<'de> Deserialize<'de> for ProjectScope
impl<'de> Deserialize<'de> for ProjectScope
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
Auto Trait Implementations§
impl Freeze for ProjectScope
impl RefUnwindSafe for ProjectScope
impl Send for ProjectScope
impl Sync for ProjectScope
impl Unpin for ProjectScope
impl UnsafeUnpin for ProjectScope
impl UnwindSafe for ProjectScope
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