pub struct ProjectDeletion {
pub id: ProjectId,
pub name: String,
pub affected: Vec<MemberRef>,
}Expand description
The impact report of a project deletion (contract §1).
It reports; it does not delete. The affected issues keep their associations, which then read as missing references (C-004, C-005), so this type carries them for the caller’s notice rather than a cascade.
Fields§
§id: ProjectIdThe id that was removed from the registry. Never handed out again.
name: StringThe name the record carried, for the notice.
affected: Vec<MemberRef>The issues that still reference the deleted project, by issue number.
Trait Implementations§
Source§impl Clone for ProjectDeletion
impl Clone for ProjectDeletion
Source§impl Debug for ProjectDeletion
impl Debug for ProjectDeletion
impl Eq for ProjectDeletion
Source§impl PartialEq for ProjectDeletion
impl PartialEq for ProjectDeletion
impl StructuralPartialEq for ProjectDeletion
Auto Trait Implementations§
impl Freeze for ProjectDeletion
impl RefUnwindSafe for ProjectDeletion
impl Send for ProjectDeletion
impl Sync for ProjectDeletion
impl Unpin for ProjectDeletion
impl UnsafeUnpin for ProjectDeletion
impl UnwindSafe for ProjectDeletion
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,
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