pub struct CreateRepository {
pub name: String,
pub organization: Option<String>,
pub description: Option<String>,
pub visibility: RepositoryVisibility,
pub init: bool,
pub default_branch: Option<String>,
pub gitignore: Option<String>,
pub license: Option<String>,
}Fields§
§name: String§organization: Option<String>§description: Option<String>§visibility: RepositoryVisibility§init: bool§default_branch: Option<String>§gitignore: Option<String>§license: Option<String>Trait Implementations§
Source§impl Debug for CreateRepository
impl Debug for CreateRepository
Source§impl<'de> Deserialize<'de> for CreateRepository
impl<'de> Deserialize<'de> for CreateRepository
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
Auto Trait Implementations§
impl Freeze for CreateRepository
impl RefUnwindSafe for CreateRepository
impl Send for CreateRepository
impl Sync for CreateRepository
impl Unpin 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