pub struct GithubForkOut {
pub clone_url: Option<String>,
pub default_branch: Option<String>,
pub existing: Option<bool>,
pub full_name: Option<String>,
pub html_url: Option<String>,
}Fields§
§clone_url: Option<String>CloneURL is the fork’s https git remote. GitHub populates a new fork in the background, so a clone issued the moment this answers can still find it empty.
default_branch: Option<String>DefaultBranch is the branch the fork checks out, inherited from upstream.
existing: Option<bool>Existing reports that the fork was already there. GitHub answers 202 either way, so without this a caller cannot tell "made you one" from "you had one".
full_name: Option<String>FullName is the fork’s "owner/repo". The owner is the account it landed in — the request’s org, or the installation’s own account when none was named.
html_url: Option<String>HTMLURL is the fork’s page on github.com.
Implementations§
Source§impl GithubForkOut
impl GithubForkOut
pub fn new() -> GithubForkOut
Trait Implementations§
Source§impl Clone for GithubForkOut
impl Clone for GithubForkOut
Source§fn clone(&self) -> GithubForkOut
fn clone(&self) -> GithubForkOut
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 GithubForkOut
impl Debug for GithubForkOut
Source§impl Default for GithubForkOut
impl Default for GithubForkOut
Source§fn default() -> GithubForkOut
fn default() -> GithubForkOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubForkOut
impl<'de> Deserialize<'de> for GithubForkOut
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 GithubForkOut
impl PartialEq for GithubForkOut
Source§impl Serialize for GithubForkOut
impl Serialize for GithubForkOut
impl StructuralPartialEq for GithubForkOut
Auto Trait Implementations§
impl Freeze for GithubForkOut
impl RefUnwindSafe for GithubForkOut
impl Send for GithubForkOut
impl Sync for GithubForkOut
impl Unpin for GithubForkOut
impl UnsafeUnpin for GithubForkOut
impl UnwindSafe for GithubForkOut
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