pub struct MigrationsStartImportRequest {
pub vcs_url: String,
pub vcs: Option<Vcs>,
pub vcs_username: Option<String>,
pub vcs_password: Option<String>,
pub tfvc_project: Option<String>,
}
Fields§
§vcs_url: String
The URL of the originating repository.
vcs: Option<Vcs>
The originating VCS type. Without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response.
vcs_username: Option<String>
If authentication is required, the username to provide to vcs_url
.
vcs_password: Option<String>
If authentication is required, the password to provide to vcs_url
.
tfvc_project: Option<String>
For a tfvc import, the name of the project that is being imported.
Implementations§
Source§impl MigrationsStartImportRequest
impl MigrationsStartImportRequest
pub fn new(vcs_url: String) -> MigrationsStartImportRequest
Trait Implementations§
Source§impl Clone for MigrationsStartImportRequest
impl Clone for MigrationsStartImportRequest
Source§fn clone(&self) -> MigrationsStartImportRequest
fn clone(&self) -> MigrationsStartImportRequest
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 MigrationsStartImportRequest
impl Debug for MigrationsStartImportRequest
Source§impl Default for MigrationsStartImportRequest
impl Default for MigrationsStartImportRequest
Source§fn default() -> MigrationsStartImportRequest
fn default() -> MigrationsStartImportRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MigrationsStartImportRequest
impl<'de> Deserialize<'de> for MigrationsStartImportRequest
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 MigrationsStartImportRequest
impl PartialEq for MigrationsStartImportRequest
Source§fn eq(&self, other: &MigrationsStartImportRequest) -> bool
fn eq(&self, other: &MigrationsStartImportRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MigrationsStartImportRequest
Auto Trait Implementations§
impl Freeze for MigrationsStartImportRequest
impl RefUnwindSafe for MigrationsStartImportRequest
impl Send for MigrationsStartImportRequest
impl Sync for MigrationsStartImportRequest
impl Unpin for MigrationsStartImportRequest
impl UnwindSafe for MigrationsStartImportRequest
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