pub struct GitRepositoryCreateOptions {
pub name: Option<String>,
pub parent_repository: Option<GitRepositoryRef>,
pub project: Option<TeamProjectReference>,
}
Expand description
Fields§
§name: Option<String>
§parent_repository: Option<GitRepositoryRef>
§project: Option<TeamProjectReference>
Represents a shallow reference to a TeamProject.
Implementations§
Trait Implementations§
source§impl Clone for GitRepositoryCreateOptions
impl Clone for GitRepositoryCreateOptions
source§fn clone(&self) -> GitRepositoryCreateOptions
fn clone(&self) -> GitRepositoryCreateOptions
Returns a copy 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 GitRepositoryCreateOptions
impl Debug for GitRepositoryCreateOptions
source§impl Default for GitRepositoryCreateOptions
impl Default for GitRepositoryCreateOptions
source§fn default() -> GitRepositoryCreateOptions
fn default() -> GitRepositoryCreateOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitRepositoryCreateOptions
impl<'de> Deserialize<'de> for GitRepositoryCreateOptions
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 GitRepositoryCreateOptions
impl PartialEq for GitRepositoryCreateOptions
source§fn eq(&self, other: &GitRepositoryCreateOptions) -> bool
fn eq(&self, other: &GitRepositoryCreateOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitRepositoryCreateOptions
Auto Trait Implementations§
impl RefUnwindSafe for GitRepositoryCreateOptions
impl Send for GitRepositoryCreateOptions
impl Sync for GitRepositoryCreateOptions
impl Unpin for GitRepositoryCreateOptions
impl UnwindSafe for GitRepositoryCreateOptions
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