#[non_exhaustive]pub enum ProjectChange {
#[non_exhaustive] Text(ProjectPart, Text),
#[non_exhaustive] Rename(String, bool),
#[non_exhaustive] Repo(String),
#[non_exhaustive] Move(String),
#[non_exhaustive] Remove(bool),
}Expand description
What project changes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
#[non_exhaustive]Text(ProjectPart, Text)
describe|notes TEXT…|-: replace one of its texts.
#[non_exhaustive]Rename(String, bool)
rename NAME…: the project’s name; true when given after --, as meant whatever it starts with.
#[non_exhaustive]Repo(String)
repo NAME: this repository’s name in its project.
#[non_exhaustive]Move(String)
move PROJECT…: this repository to another project, created if new.
#[non_exhaustive]Remove(bool)
remove [--purge]: take every repository of the project out of it; true also deletes their tasks.
Trait Implementations§
Source§impl Debug for ProjectChange
impl Debug for ProjectChange
impl Eq for ProjectChange
Source§impl PartialEq for ProjectChange
impl PartialEq for ProjectChange
impl StructuralPartialEq for ProjectChange
Auto Trait Implementations§
impl Freeze for ProjectChange
impl RefUnwindSafe for ProjectChange
impl Send for ProjectChange
impl Sync for ProjectChange
impl Unpin for ProjectChange
impl UnsafeUnpin for ProjectChange
impl UnwindSafe for ProjectChange
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.