pub struct ProjectAssociationOutcome {
pub written: Option<Issue>,
pub project_ids: Vec<String>,
pub event: Option<ProjectEvent>,
pub changed: bool,
}Expand description
The outcome of one project association mutation (mission
first-class-projects-01M3BYBW, WP03).
Shaped like ParentOutcome: written is None for a no-op and the current
list is reported either way, so a caller that needs the state does not have to
re-read to learn it, and a changed: false is never paired with a write.
Fields§
§written: Option<Issue>The issue whose file was written, or None when the mutation was a no-op.
project_ids: Vec<String>The issue’s association list after the call, exactly as the service returned it.
event: Option<ProjectEvent>The History event appended, or None for a no-op.
changed: boolWhether anything was written.
Trait Implementations§
Source§impl Clone for ProjectAssociationOutcome
impl Clone for ProjectAssociationOutcome
Source§impl Debug for ProjectAssociationOutcome
impl Debug for ProjectAssociationOutcome
impl Eq for ProjectAssociationOutcome
impl StructuralPartialEq for ProjectAssociationOutcome
Auto Trait Implementations§
impl Freeze for ProjectAssociationOutcome
impl RefUnwindSafe for ProjectAssociationOutcome
impl Send for ProjectAssociationOutcome
impl Sync for ProjectAssociationOutcome
impl Unpin for ProjectAssociationOutcome
impl UnsafeUnpin for ProjectAssociationOutcome
impl UnwindSafe for ProjectAssociationOutcome
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