Struct aws_sdk_codecommit::operation::update_repository_description::UpdateRepositoryDescriptionInput
source · #[non_exhaustive]pub struct UpdateRepositoryDescriptionInput {
pub repository_name: Option<String>,
pub repository_description: Option<String>,
}Expand description
Represents the input of an update repository description operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.repository_name: Option<String>The name of the repository to set or change the comment or description for.
repository_description: Option<String>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
Implementations§
source§impl UpdateRepositoryDescriptionInput
impl UpdateRepositoryDescriptionInput
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository to set or change the comment or description for.
sourcepub fn repository_description(&self) -> Option<&str>
pub fn repository_description(&self) -> Option<&str>
The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.
source§impl UpdateRepositoryDescriptionInput
impl UpdateRepositoryDescriptionInput
sourcepub fn builder() -> UpdateRepositoryDescriptionInputBuilder
pub fn builder() -> UpdateRepositoryDescriptionInputBuilder
Creates a new builder-style object to manufacture UpdateRepositoryDescriptionInput.
Trait Implementations§
source§impl Clone for UpdateRepositoryDescriptionInput
impl Clone for UpdateRepositoryDescriptionInput
source§fn clone(&self) -> UpdateRepositoryDescriptionInput
fn clone(&self) -> UpdateRepositoryDescriptionInput
Returns a copy 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 PartialEq for UpdateRepositoryDescriptionInput
impl PartialEq for UpdateRepositoryDescriptionInput
source§fn eq(&self, other: &UpdateRepositoryDescriptionInput) -> bool
fn eq(&self, other: &UpdateRepositoryDescriptionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateRepositoryDescriptionInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateRepositoryDescriptionInput
impl Send for UpdateRepositoryDescriptionInput
impl Sync for UpdateRepositoryDescriptionInput
impl Unpin for UpdateRepositoryDescriptionInput
impl UnwindSafe for UpdateRepositoryDescriptionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.