pub enum SelectionScope {
Active,
ActiveAndArchived,
ArchivedOnly,
}Expand description
Which issues are in play, active or archived.
The archive mission (#190) owns archived-view policy. This enum does not implement it: it carries the request so the later work packages can delegate, and the default is the one the contract names — operational selection follows the active view (data-model §1, contract §6).
Variants§
Active
Active issues only. The default, and the only scope that writes.
ActiveAndArchived
Active and archived.
ArchivedOnly
Archived only.
Implementations§
Trait Implementations§
Source§impl Clone for SelectionScope
impl Clone for SelectionScope
impl Copy for SelectionScope
Source§impl Debug for SelectionScope
impl Debug for SelectionScope
Source§impl Default for SelectionScope
impl Default for SelectionScope
Source§impl<'de> Deserialize<'de> for SelectionScope
impl<'de> Deserialize<'de> for SelectionScope
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 SelectionScope
Source§impl PartialEq for SelectionScope
impl PartialEq for SelectionScope
Source§impl Serialize for SelectionScope
impl Serialize for SelectionScope
impl StructuralPartialEq for SelectionScope
Auto Trait Implementations§
impl Freeze for SelectionScope
impl RefUnwindSafe for SelectionScope
impl Send for SelectionScope
impl Sync for SelectionScope
impl Unpin for SelectionScope
impl UnsafeUnpin for SelectionScope
impl UnwindSafe for SelectionScope
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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