#[non_exhaustive]pub struct DomainEntryPointBuilder { /* private fields */ }
Expand description
A builder for DomainEntryPoint
.
Implementations§
source§impl DomainEntryPointBuilder
impl DomainEntryPointBuilder
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository that a package was originally published to.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository that a package was originally published to.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository that a package was originally published to.
sourcepub fn external_connection_name(self, input: impl Into<String>) -> Self
pub fn external_connection_name(self, input: impl Into<String>) -> Self
The name of the external connection that a package was ingested from.
sourcepub fn set_external_connection_name(self, input: Option<String>) -> Self
pub fn set_external_connection_name(self, input: Option<String>) -> Self
The name of the external connection that a package was ingested from.
sourcepub fn get_external_connection_name(&self) -> &Option<String>
pub fn get_external_connection_name(&self) -> &Option<String>
The name of the external connection that a package was ingested from.
sourcepub fn build(self) -> DomainEntryPoint
pub fn build(self) -> DomainEntryPoint
Consumes the builder and constructs a DomainEntryPoint
.
Trait Implementations§
source§impl Clone for DomainEntryPointBuilder
impl Clone for DomainEntryPointBuilder
source§fn clone(&self) -> DomainEntryPointBuilder
fn clone(&self) -> DomainEntryPointBuilder
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 DomainEntryPointBuilder
impl Debug for DomainEntryPointBuilder
source§impl Default for DomainEntryPointBuilder
impl Default for DomainEntryPointBuilder
source§fn default() -> DomainEntryPointBuilder
fn default() -> DomainEntryPointBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DomainEntryPointBuilder
impl PartialEq for DomainEntryPointBuilder
source§fn eq(&self, other: &DomainEntryPointBuilder) -> bool
fn eq(&self, other: &DomainEntryPointBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DomainEntryPointBuilder
Auto Trait Implementations§
impl Freeze for DomainEntryPointBuilder
impl RefUnwindSafe for DomainEntryPointBuilder
impl Send for DomainEntryPointBuilder
impl Sync for DomainEntryPointBuilder
impl Unpin for DomainEntryPointBuilder
impl UnwindSafe for DomainEntryPointBuilder
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.