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<ObjectTypesBuilder> for ObjectTypesBuilder
impl PartialEq<ObjectTypesBuilder> 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 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