#[non_exhaustive]pub struct ApplyReport {
pub changes: Vec<RoleChange>,
pub unchanged: Vec<ForgeAccount>,
pub kept_unlisted: Vec<Collaborator>,
}Expand description
Result of converging a repository’s roles.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.changes: Vec<RoleChange>Every change attempted, in order.
unchanged: Vec<ForgeAccount>People already at their desired role.
kept_unlisted: Vec<Collaborator>Direct collaborators not in the desired set that were left alone
because the call said Unlisted::Keep.
Implementations§
Source§impl ApplyReport
impl ApplyReport
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Whether every attempted change went through.
Trait Implementations§
Source§impl Clone for ApplyReport
impl Clone for ApplyReport
Source§impl Debug for ApplyReport
impl Debug for ApplyReport
Source§impl Default for ApplyReport
impl Default for ApplyReport
Source§impl<'de> Deserialize<'de> for ApplyReport
impl<'de> Deserialize<'de> for ApplyReport
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 ApplyReport
Source§impl PartialEq for ApplyReport
impl PartialEq for ApplyReport
Source§impl Serialize for ApplyReport
impl Serialize for ApplyReport
impl StructuralPartialEq for ApplyReport
Auto Trait Implementations§
impl Freeze for ApplyReport
impl RefUnwindSafe for ApplyReport
impl Send for ApplyReport
impl Sync for ApplyReport
impl Unpin for ApplyReport
impl UnsafeUnpin for ApplyReport
impl UnwindSafe for ApplyReport
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