#[non_exhaustive]pub struct HubContentDependencyBuilder { /* private fields */ }
Expand description
A builder for HubContentDependency
.
Implementations§
source§impl HubContentDependencyBuilder
impl HubContentDependencyBuilder
sourcepub fn dependency_origin_path(self, input: impl Into<String>) -> Self
pub fn dependency_origin_path(self, input: impl Into<String>) -> Self
The hub content dependency origin path.
sourcepub fn set_dependency_origin_path(self, input: Option<String>) -> Self
pub fn set_dependency_origin_path(self, input: Option<String>) -> Self
The hub content dependency origin path.
sourcepub fn get_dependency_origin_path(&self) -> &Option<String>
pub fn get_dependency_origin_path(&self) -> &Option<String>
The hub content dependency origin path.
sourcepub fn dependency_copy_path(self, input: impl Into<String>) -> Self
pub fn dependency_copy_path(self, input: impl Into<String>) -> Self
The hub content dependency copy path.
sourcepub fn set_dependency_copy_path(self, input: Option<String>) -> Self
pub fn set_dependency_copy_path(self, input: Option<String>) -> Self
The hub content dependency copy path.
sourcepub fn get_dependency_copy_path(&self) -> &Option<String>
pub fn get_dependency_copy_path(&self) -> &Option<String>
The hub content dependency copy path.
sourcepub fn build(self) -> HubContentDependency
pub fn build(self) -> HubContentDependency
Consumes the builder and constructs a HubContentDependency
.
Trait Implementations§
source§impl Clone for HubContentDependencyBuilder
impl Clone for HubContentDependencyBuilder
source§fn clone(&self) -> HubContentDependencyBuilder
fn clone(&self) -> HubContentDependencyBuilder
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 HubContentDependencyBuilder
impl Debug for HubContentDependencyBuilder
source§impl Default for HubContentDependencyBuilder
impl Default for HubContentDependencyBuilder
source§fn default() -> HubContentDependencyBuilder
fn default() -> HubContentDependencyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HubContentDependencyBuilder
impl PartialEq for HubContentDependencyBuilder
source§fn eq(&self, other: &HubContentDependencyBuilder) -> bool
fn eq(&self, other: &HubContentDependencyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HubContentDependencyBuilder
Auto Trait Implementations§
impl Freeze for HubContentDependencyBuilder
impl RefUnwindSafe for HubContentDependencyBuilder
impl Send for HubContentDependencyBuilder
impl Sync for HubContentDependencyBuilder
impl Unpin for HubContentDependencyBuilder
impl UnwindSafe for HubContentDependencyBuilder
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.