pub struct CreateForkOption {
pub name: Option<String>,
pub organization: Option<String>,
}Expand description
CreateForkOption options for creating a fork
Fields§
§name: Option<String>name of the forked repository
organization: Option<String>organization name, if forking into an organization
Trait Implementations§
Source§impl Clone for CreateForkOption
impl Clone for CreateForkOption
Source§fn clone(&self) -> CreateForkOption
fn clone(&self) -> CreateForkOption
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateForkOption
impl Debug for CreateForkOption
Source§impl<'de> Deserialize<'de> for CreateForkOption
impl<'de> Deserialize<'de> for CreateForkOption
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 CreateForkOption
impl PartialEq for CreateForkOption
Source§impl Serialize for CreateForkOption
impl Serialize for CreateForkOption
impl StructuralPartialEq for CreateForkOption
Auto Trait Implementations§
impl Freeze for CreateForkOption
impl RefUnwindSafe for CreateForkOption
impl Send for CreateForkOption
impl Sync for CreateForkOption
impl Unpin for CreateForkOption
impl UnwindSafe for CreateForkOption
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