pub struct GithubSearchOut {
pub count: Option<i32>,
pub repos: Option<Vec<GithubSearchHit>>,
}Fields§
§count: Option<i32>Count is how many hits Repos carries. It is that array’s length, NOT GitHub’s total_count, so it never exceeds limit and says nothing about how many more repositories matched.
repos: Option<Vec<GithubSearchHit>>Repos are the matching repositories in GitHub’s own relevance order, capped at limit. Always an array, never null.
Implementations§
Source§impl GithubSearchOut
impl GithubSearchOut
pub fn new() -> GithubSearchOut
Trait Implementations§
Source§impl Clone for GithubSearchOut
impl Clone for GithubSearchOut
Source§fn clone(&self) -> GithubSearchOut
fn clone(&self) -> GithubSearchOut
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 GithubSearchOut
impl Debug for GithubSearchOut
Source§impl Default for GithubSearchOut
impl Default for GithubSearchOut
Source§fn default() -> GithubSearchOut
fn default() -> GithubSearchOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubSearchOut
impl<'de> Deserialize<'de> for GithubSearchOut
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 GithubSearchOut
impl PartialEq for GithubSearchOut
Source§impl Serialize for GithubSearchOut
impl Serialize for GithubSearchOut
impl StructuralPartialEq for GithubSearchOut
Auto Trait Implementations§
impl Freeze for GithubSearchOut
impl RefUnwindSafe for GithubSearchOut
impl Send for GithubSearchOut
impl Sync for GithubSearchOut
impl Unpin for GithubSearchOut
impl UnsafeUnpin for GithubSearchOut
impl UnwindSafe for GithubSearchOut
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