pub struct MigrationsStartForAuthenticatedUserRequest {
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>>,
pub repositories: Vec<String>,
}
Fields§
§lock_repositories: Option<bool>
Lock the repositories being migrated at the start of the migration
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>
Do not include attachments in the migration
exclude_releases: Option<bool>
Do not include releases in the migration
exclude_owner_projects: Option<bool>
Indicates whether projects owned by the organization or users should be excluded.
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 attributes from the API response to improve performance
repositories: Vec<String>
Implementations§
Source§impl MigrationsStartForAuthenticatedUserRequest
impl MigrationsStartForAuthenticatedUserRequest
pub fn new( repositories: Vec<String>, ) -> MigrationsStartForAuthenticatedUserRequest
Trait Implementations§
Source§impl Clone for MigrationsStartForAuthenticatedUserRequest
impl Clone for MigrationsStartForAuthenticatedUserRequest
Source§fn clone(&self) -> MigrationsStartForAuthenticatedUserRequest
fn clone(&self) -> MigrationsStartForAuthenticatedUserRequest
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 Default for MigrationsStartForAuthenticatedUserRequest
impl Default for MigrationsStartForAuthenticatedUserRequest
Source§fn default() -> MigrationsStartForAuthenticatedUserRequest
fn default() -> MigrationsStartForAuthenticatedUserRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MigrationsStartForAuthenticatedUserRequest
impl<'de> Deserialize<'de> for MigrationsStartForAuthenticatedUserRequest
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 MigrationsStartForAuthenticatedUserRequest
impl PartialEq for MigrationsStartForAuthenticatedUserRequest
Source§fn eq(&self, other: &MigrationsStartForAuthenticatedUserRequest) -> bool
fn eq(&self, other: &MigrationsStartForAuthenticatedUserRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MigrationsStartForAuthenticatedUserRequest
Auto Trait Implementations§
impl Freeze for MigrationsStartForAuthenticatedUserRequest
impl RefUnwindSafe for MigrationsStartForAuthenticatedUserRequest
impl Send for MigrationsStartForAuthenticatedUserRequest
impl Sync for MigrationsStartForAuthenticatedUserRequest
impl Unpin for MigrationsStartForAuthenticatedUserRequest
impl UnwindSafe for MigrationsStartForAuthenticatedUserRequest
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