pub struct MigrationsStartForOrgRequest {
pub repositories: Vec<String>,
pub lock_repositories: Option<bool>,
pub exclude_metadata: Option<bool>,
pub exclude_git_data: Option<bool>,
pub exclude_attachments: Option<bool>,
pub exclude_releases: Option<bool>,
pub exclude_owner_projects: Option<bool>,
pub org_metadata_only: Option<bool>,
pub exclude: Option<Vec<Exclude>>,
}
Fields§
§repositories: Vec<String>
A list of arrays indicating which repositories should be migrated.
lock_repositories: Option<bool>
Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
exclude_metadata: Option<bool>
Indicates whether metadata should be excluded and only git source should be included for the migration.
exclude_git_data: Option<bool>
Indicates whether the repository git data should be excluded from the migration.
exclude_attachments: Option<bool>
Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
exclude_releases: Option<bool>
Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
exclude_owner_projects: Option<bool>
Indicates whether projects owned by the organization or users should be excluded. from the migration.
org_metadata_only: Option<bool>
Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
exclude: Option<Vec<Exclude>>
Exclude related items from being returned in the response in order to improve performance of the request.
Implementations§
Source§impl MigrationsStartForOrgRequest
impl MigrationsStartForOrgRequest
pub fn new(repositories: Vec<String>) -> MigrationsStartForOrgRequest
Trait Implementations§
Source§impl Clone for MigrationsStartForOrgRequest
impl Clone for MigrationsStartForOrgRequest
Source§fn clone(&self) -> MigrationsStartForOrgRequest
fn clone(&self) -> MigrationsStartForOrgRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MigrationsStartForOrgRequest
impl Debug for MigrationsStartForOrgRequest
Source§impl Default for MigrationsStartForOrgRequest
impl Default for MigrationsStartForOrgRequest
Source§fn default() -> MigrationsStartForOrgRequest
fn default() -> MigrationsStartForOrgRequest
Source§impl<'de> Deserialize<'de> for MigrationsStartForOrgRequest
impl<'de> Deserialize<'de> for MigrationsStartForOrgRequest
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>,
Source§impl PartialEq for MigrationsStartForOrgRequest
impl PartialEq for MigrationsStartForOrgRequest
Source§fn eq(&self, other: &MigrationsStartForOrgRequest) -> bool
fn eq(&self, other: &MigrationsStartForOrgRequest) -> bool
self
and other
values to be equal, and is used by ==
.