pub struct GithubForkReq {
pub org: Option<String>,
pub repo: Option<String>,
}Fields§
§org: Option<String>Org is the GitHub account to fork INTO; empty forks to the installation’s own account, which is the common case.
repo: Option<String>Repo is a repository the org’s installation was GRANTED, by name.
Implementations§
Source§impl GithubForkReq
impl GithubForkReq
pub fn new() -> GithubForkReq
Trait Implementations§
Source§impl Clone for GithubForkReq
impl Clone for GithubForkReq
Source§fn clone(&self) -> GithubForkReq
fn clone(&self) -> GithubForkReq
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 GithubForkReq
impl Debug for GithubForkReq
Source§impl Default for GithubForkReq
impl Default for GithubForkReq
Source§fn default() -> GithubForkReq
fn default() -> GithubForkReq
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubForkReq
impl<'de> Deserialize<'de> for GithubForkReq
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 GithubForkReq
impl PartialEq for GithubForkReq
Source§impl Serialize for GithubForkReq
impl Serialize for GithubForkReq
impl StructuralPartialEq for GithubForkReq
Auto Trait Implementations§
impl Freeze for GithubForkReq
impl RefUnwindSafe for GithubForkReq
impl Send for GithubForkReq
impl Sync for GithubForkReq
impl Unpin for GithubForkReq
impl UnsafeUnpin for GithubForkReq
impl UnwindSafe for GithubForkReq
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