#[non_exhaustive]pub struct MetadataPropertiesBuilder { /* private fields */ }
Expand description
A builder for MetadataProperties
.
Implementations§
source§impl MetadataPropertiesBuilder
impl MetadataPropertiesBuilder
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The commit ID.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The commit ID.
sourcepub fn repository(self, input: impl Into<String>) -> Self
pub fn repository(self, input: impl Into<String>) -> Self
The repository.
sourcepub fn set_repository(self, input: Option<String>) -> Self
pub fn set_repository(self, input: Option<String>) -> Self
The repository.
sourcepub fn get_repository(&self) -> &Option<String>
pub fn get_repository(&self) -> &Option<String>
The repository.
sourcepub fn generated_by(self, input: impl Into<String>) -> Self
pub fn generated_by(self, input: impl Into<String>) -> Self
The entity this entity was generated by.
sourcepub fn set_generated_by(self, input: Option<String>) -> Self
pub fn set_generated_by(self, input: Option<String>) -> Self
The entity this entity was generated by.
sourcepub fn get_generated_by(&self) -> &Option<String>
pub fn get_generated_by(&self) -> &Option<String>
The entity this entity was generated by.
sourcepub fn project_id(self, input: impl Into<String>) -> Self
pub fn project_id(self, input: impl Into<String>) -> Self
The project ID.
sourcepub fn set_project_id(self, input: Option<String>) -> Self
pub fn set_project_id(self, input: Option<String>) -> Self
The project ID.
sourcepub fn get_project_id(&self) -> &Option<String>
pub fn get_project_id(&self) -> &Option<String>
The project ID.
sourcepub fn build(self) -> MetadataProperties
pub fn build(self) -> MetadataProperties
Consumes the builder and constructs a MetadataProperties
.
Trait Implementations§
source§impl Clone for MetadataPropertiesBuilder
impl Clone for MetadataPropertiesBuilder
source§fn clone(&self) -> MetadataPropertiesBuilder
fn clone(&self) -> MetadataPropertiesBuilder
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 MetadataPropertiesBuilder
impl Debug for MetadataPropertiesBuilder
source§impl Default for MetadataPropertiesBuilder
impl Default for MetadataPropertiesBuilder
source§fn default() -> MetadataPropertiesBuilder
fn default() -> MetadataPropertiesBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for MetadataPropertiesBuilder
Auto Trait Implementations§
impl Freeze for MetadataPropertiesBuilder
impl RefUnwindSafe for MetadataPropertiesBuilder
impl Send for MetadataPropertiesBuilder
impl Sync for MetadataPropertiesBuilder
impl Unpin for MetadataPropertiesBuilder
impl UnwindSafe for MetadataPropertiesBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.