pub struct UnavailableRepository {
pub repository: OwnerRepo,
pub reason: String,
}Expand description
A repository the aggregate could not read, and why.
Carried out of the count rather than folded into it. An organization whose
App installation includes an archived or since-deleted repository would
otherwise fail its whole activity refresh forever, or — worse — quietly
return a total that is short by an unknown amount. c2’s installation
discovery makes the same choice for a nameless installation, and for the same
reason: a partial answer is usable only when it says it is partial.
Fields§
§repository: OwnerRepo§reason: StringTrait Implementations§
Source§fn clone(&self) -> UnavailableRepository
fn clone(&self) -> UnavailableRepository
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
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§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.