pub struct Migration {Show 18 fields
pub id: i32,
pub owner: Option<Box<NullableSimpleUser>>,
pub guid: String,
pub state: String,
pub lock_repositories: bool,
pub exclude_metadata: bool,
pub exclude_git_data: bool,
pub exclude_attachments: bool,
pub exclude_releases: bool,
pub exclude_owner_projects: bool,
pub org_metadata_only: bool,
pub repositories: Vec<Repository>,
pub url: String,
pub created_at: String,
pub updated_at: String,
pub node_id: String,
pub archive_url: Option<String>,
pub exclude: Option<Vec<String>>,
}
Expand description
Migration : A migration.
Fields§
§id: i32
§owner: Option<Box<NullableSimpleUser>>
§guid: String
§state: String
§lock_repositories: bool
§exclude_metadata: bool
§exclude_git_data: bool
§exclude_attachments: bool
§exclude_releases: bool
§exclude_owner_projects: bool
§org_metadata_only: bool
§repositories: Vec<Repository>
The repositories included in the migration. Only returned for export migrations.
url: String
§created_at: String
§updated_at: String
§node_id: String
§archive_url: Option<String>
§exclude: Option<Vec<String>>
Exclude related items from being returned in the response in order to improve performance of the request. The array can include any of: \"repositories\"
.
Implementations§
Source§impl Migration
impl Migration
Sourcepub fn new(
id: i32,
owner: Option<NullableSimpleUser>,
guid: String,
state: String,
lock_repositories: bool,
exclude_metadata: bool,
exclude_git_data: bool,
exclude_attachments: bool,
exclude_releases: bool,
exclude_owner_projects: bool,
org_metadata_only: bool,
repositories: Vec<Repository>,
url: String,
created_at: String,
updated_at: String,
node_id: String,
) -> Migration
pub fn new( id: i32, owner: Option<NullableSimpleUser>, guid: String, state: String, lock_repositories: bool, exclude_metadata: bool, exclude_git_data: bool, exclude_attachments: bool, exclude_releases: bool, exclude_owner_projects: bool, org_metadata_only: bool, repositories: Vec<Repository>, url: String, created_at: String, updated_at: String, node_id: String, ) -> Migration
A migration.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Migration
impl<'de> Deserialize<'de> for Migration
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
impl StructuralPartialEq for Migration
Auto Trait Implementations§
impl Freeze for Migration
impl RefUnwindSafe for Migration
impl Send for Migration
impl Sync for Migration
impl Unpin for Migration
impl UnwindSafe for Migration
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