pub struct GitImportGitSource {
pub overwrite: Option<bool>,
pub url: Option<String>,
}Expand description
Parameter for creating a git import request when source is Git version control
Fields§
§overwrite: Option<bool>Tells if this is a sync request or not
url: Option<String>Url for the source repo
Implementations§
Trait Implementations§
Source§impl Clone for GitImportGitSource
impl Clone for GitImportGitSource
Source§fn clone(&self) -> GitImportGitSource
fn clone(&self) -> GitImportGitSource
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 GitImportGitSource
impl Debug for GitImportGitSource
Source§impl Default for GitImportGitSource
impl Default for GitImportGitSource
Source§fn default() -> GitImportGitSource
fn default() -> GitImportGitSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitImportGitSource
impl<'de> Deserialize<'de> for GitImportGitSource
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 GitImportGitSource
impl PartialEq for GitImportGitSource
Source§impl Serialize for GitImportGitSource
impl Serialize for GitImportGitSource
impl StructuralPartialEq for GitImportGitSource
Auto Trait Implementations§
impl Freeze for GitImportGitSource
impl RefUnwindSafe for GitImportGitSource
impl Send for GitImportGitSource
impl Sync for GitImportGitSource
impl Unpin for GitImportGitSource
impl UnwindSafe for GitImportGitSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more