pub struct CreateRepository {
pub identifier: String,
pub parent_ref: String,
pub description: Option<String>,
pub default_branch: Option<String>,
pub is_public: bool,
pub readme: bool,
pub license: Option<String>,
pub git_ignore: Option<String>,
pub fork_id: Option<i64>,
}Expand description
The body of POST /api/v1/repos.
Fields§
§identifier: String§parent_ref: StringThe space to create it in.
description: Option<String>§default_branch: Option<String>§is_public: bool§readme: bool§license: Option<String>§git_ignore: Option<String>§fork_id: Option<i64>Makes the new repository a fork of the repository with this id.
Trait Implementations§
Source§impl Clone for CreateRepository
impl Clone for CreateRepository
Source§impl Debug for CreateRepository
impl Debug for CreateRepository
Source§impl Default for CreateRepository
impl Default for CreateRepository
Auto Trait Implementations§
impl Forget for CreateRepository
impl Freeze for CreateRepository
impl RefUnwindSafe for CreateRepository
impl Send for CreateRepository
impl Sync for CreateRepository
impl Unpin for CreateRepository
impl UnsafeUnpin for CreateRepository
impl UnwindSafe for CreateRepository
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