pub struct GithubReposOut {
pub repos: Option<Vec<GithubRepoView>>,
pub unread: Option<Vec<String>>,
}Fields§
§repos: Option<Vec<GithubRepoView>>Repos is every repo the installation grants. Never null; [] when none.
unread: Option<Vec<String>>Unread names the connected accounts this answer could NOT read, so a short list is distinguishable from a complete one. Absent when the answer is whole. The fan-out is per installation, and one account failing used to be dropped in silence: the response stayed 200 and simply carried fewer repositories, erroring only when EVERY account failed. Measured, twice in a row, minutes apart: 1475 repositories, then 1157 — a whole installation missing with nothing in the answer to say so. Anything driven off the list then under-covers and reports success, which is the failure this field ends.
Implementations§
Source§impl GithubReposOut
impl GithubReposOut
pub fn new() -> GithubReposOut
Trait Implementations§
Source§impl Clone for GithubReposOut
impl Clone for GithubReposOut
Source§fn clone(&self) -> GithubReposOut
fn clone(&self) -> GithubReposOut
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 moreSource§impl Debug for GithubReposOut
impl Debug for GithubReposOut
Source§impl Default for GithubReposOut
impl Default for GithubReposOut
Source§fn default() -> GithubReposOut
fn default() -> GithubReposOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubReposOut
impl<'de> Deserialize<'de> for GithubReposOut
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
Source§impl PartialEq for GithubReposOut
impl PartialEq for GithubReposOut
Source§impl Serialize for GithubReposOut
impl Serialize for GithubReposOut
impl StructuralPartialEq for GithubReposOut
Auto Trait Implementations§
impl Freeze for GithubReposOut
impl RefUnwindSafe for GithubReposOut
impl Send for GithubReposOut
impl Sync for GithubReposOut
impl Unpin for GithubReposOut
impl UnsafeUnpin for GithubReposOut
impl UnwindSafe for GithubReposOut
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