pub struct Code {
pub destination: CodeDestination,
pub source: CodeSource,
}
Expand description
Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
Fields§
§destination: CodeDestination
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.
source: CodeSource
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
Trait Implementations§
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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