Struct aws_sdk_codecommit::types::builders::ObjectTypesBuilder
source · #[non_exhaustive]pub struct ObjectTypesBuilder { /* private fields */ }Expand description
A builder for ObjectTypes.
Implementations§
source§impl ObjectTypesBuilder
impl ObjectTypesBuilder
sourcepub fn source(self, input: ObjectTypeEnum) -> Self
pub fn source(self, input: ObjectTypeEnum) -> Self
The type of the object in the source branch.
sourcepub fn set_source(self, input: Option<ObjectTypeEnum>) -> Self
pub fn set_source(self, input: Option<ObjectTypeEnum>) -> Self
The type of the object in the source branch.
sourcepub fn get_source(&self) -> &Option<ObjectTypeEnum>
pub fn get_source(&self) -> &Option<ObjectTypeEnum>
The type of the object in the source branch.
sourcepub fn destination(self, input: ObjectTypeEnum) -> Self
pub fn destination(self, input: ObjectTypeEnum) -> Self
The type of the object in the destination branch.
sourcepub fn set_destination(self, input: Option<ObjectTypeEnum>) -> Self
pub fn set_destination(self, input: Option<ObjectTypeEnum>) -> Self
The type of the object in the destination branch.
sourcepub fn get_destination(&self) -> &Option<ObjectTypeEnum>
pub fn get_destination(&self) -> &Option<ObjectTypeEnum>
The type of the object in the destination branch.
sourcepub fn base(self, input: ObjectTypeEnum) -> Self
pub fn base(self, input: ObjectTypeEnum) -> Self
The type of the object in the base commit of the merge.
sourcepub fn set_base(self, input: Option<ObjectTypeEnum>) -> Self
pub fn set_base(self, input: Option<ObjectTypeEnum>) -> Self
The type of the object in the base commit of the merge.
sourcepub fn get_base(&self) -> &Option<ObjectTypeEnum>
pub fn get_base(&self) -> &Option<ObjectTypeEnum>
The type of the object in the base commit of the merge.
sourcepub fn build(self) -> ObjectTypes
pub fn build(self) -> ObjectTypes
Consumes the builder and constructs a ObjectTypes.
Trait Implementations§
source§impl Clone for ObjectTypesBuilder
impl Clone for ObjectTypesBuilder
source§fn clone(&self) -> ObjectTypesBuilder
fn clone(&self) -> ObjectTypesBuilder
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 Debug for ObjectTypesBuilder
impl Debug for ObjectTypesBuilder
source§impl Default for ObjectTypesBuilder
impl Default for ObjectTypesBuilder
source§fn default() -> ObjectTypesBuilder
fn default() -> ObjectTypesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ObjectTypesBuilder
impl PartialEq for ObjectTypesBuilder
source§fn eq(&self, other: &ObjectTypesBuilder) -> bool
fn eq(&self, other: &ObjectTypesBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ObjectTypesBuilder
Auto Trait Implementations§
impl Freeze for ObjectTypesBuilder
impl RefUnwindSafe for ObjectTypesBuilder
impl Send for ObjectTypesBuilder
impl Sync for ObjectTypesBuilder
impl Unpin for ObjectTypesBuilder
impl UnwindSafe for ObjectTypesBuilder
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.