pub struct CodeDestination {
pub code_commit: Option<CodeCommitCodeDestination>,
pub git_hub: Option<GitHubCodeDestination>,
}
Expand description
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
Fields§
§code_commit: Option<CodeCommitCodeDestination>
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
git_hub: Option<GitHubCodeDestination>
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
Trait Implementations§
Source§impl Clone for CodeDestination
impl Clone for CodeDestination
Source§fn clone(&self) -> CodeDestination
fn clone(&self) -> CodeDestination
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 CodeDestination
impl Debug for CodeDestination
Source§impl Default for CodeDestination
impl Default for CodeDestination
Source§fn default() -> CodeDestination
fn default() -> CodeDestination
Returns the “default value” for a type. Read more
Source§impl PartialEq for CodeDestination
impl PartialEq for CodeDestination
Source§impl Serialize for CodeDestination
impl Serialize for CodeDestination
impl StructuralPartialEq for CodeDestination
Auto Trait Implementations§
impl Freeze for CodeDestination
impl RefUnwindSafe for CodeDestination
impl Send for CodeDestination
impl Sync for CodeDestination
impl Unpin for CodeDestination
impl UnwindSafe for CodeDestination
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