Struct rusoto_codestar::GitHubCodeDestination
source · [−]pub struct GitHubCodeDestination {
pub description: Option<String>,
pub issues_enabled: bool,
pub name: String,
pub owner: String,
pub private_repository: bool,
pub token: String,
pub type_: String,
}
Expand description
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.
Fields
description: Option<String>
Description for the GitHub repository to be created in AWS CodeStar. This description displays in GitHub after the repository is created.
issues_enabled: bool
Whether to enable issues for the GitHub repository.
name: String
Name of the GitHub repository to be created in AWS CodeStar.
owner: String
The GitHub username for the owner of the GitHub repository to be created in AWS CodeStar. If this repository should be owned by a GitHub organization, provide its name.
private_repository: bool
Whether the GitHub repository is to be a private repository.
token: String
The GitHub user's personal access token for the GitHub repository.
type_: String
The type of GitHub repository to be created in AWS CodeStar. Valid values are User or Organization.
Trait Implementations
sourceimpl Clone for GitHubCodeDestination
impl Clone for GitHubCodeDestination
sourcefn clone(&self) -> GitHubCodeDestination
fn clone(&self) -> GitHubCodeDestination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GitHubCodeDestination
impl Debug for GitHubCodeDestination
sourceimpl Default for GitHubCodeDestination
impl Default for GitHubCodeDestination
sourcefn default() -> GitHubCodeDestination
fn default() -> GitHubCodeDestination
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GitHubCodeDestination> for GitHubCodeDestination
impl PartialEq<GitHubCodeDestination> for GitHubCodeDestination
sourcefn eq(&self, other: &GitHubCodeDestination) -> bool
fn eq(&self, other: &GitHubCodeDestination) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GitHubCodeDestination) -> bool
fn ne(&self, other: &GitHubCodeDestination) -> bool
This method tests for !=
.
sourceimpl Serialize for GitHubCodeDestination
impl Serialize for GitHubCodeDestination
impl StructuralPartialEq for GitHubCodeDestination
Auto Trait Implementations
impl RefUnwindSafe for GitHubCodeDestination
impl Send for GitHubCodeDestination
impl Sync for GitHubCodeDestination
impl Unpin for GitHubCodeDestination
impl UnwindSafe for GitHubCodeDestination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more