#[non_exhaustive]pub struct ValidateSolFunctionPackageContentMetadataBuilder { /* private fields */ }Expand description
A builder for ValidateSolFunctionPackageContentMetadata.
Implementations§
source§impl ValidateSolFunctionPackageContentMetadataBuilder
impl ValidateSolFunctionPackageContentMetadataBuilder
sourcepub fn vnfd(self, input: FunctionArtifactMeta) -> Self
pub fn vnfd(self, input: FunctionArtifactMeta) -> Self
Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
sourcepub fn set_vnfd(self, input: Option<FunctionArtifactMeta>) -> Self
pub fn set_vnfd(self, input: Option<FunctionArtifactMeta>) -> Self
Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
sourcepub fn get_vnfd(&self) -> &Option<FunctionArtifactMeta>
pub fn get_vnfd(&self) -> &Option<FunctionArtifactMeta>
Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
sourcepub fn build(self) -> ValidateSolFunctionPackageContentMetadata
pub fn build(self) -> ValidateSolFunctionPackageContentMetadata
Consumes the builder and constructs a ValidateSolFunctionPackageContentMetadata.
Trait Implementations§
source§impl Clone for ValidateSolFunctionPackageContentMetadataBuilder
impl Clone for ValidateSolFunctionPackageContentMetadataBuilder
source§fn clone(&self) -> ValidateSolFunctionPackageContentMetadataBuilder
fn clone(&self) -> ValidateSolFunctionPackageContentMetadataBuilder
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 Default for ValidateSolFunctionPackageContentMetadataBuilder
impl Default for ValidateSolFunctionPackageContentMetadataBuilder
source§fn default() -> ValidateSolFunctionPackageContentMetadataBuilder
fn default() -> ValidateSolFunctionPackageContentMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidateSolFunctionPackageContentMetadataBuilder
impl PartialEq for ValidateSolFunctionPackageContentMetadataBuilder
source§fn eq(&self, other: &ValidateSolFunctionPackageContentMetadataBuilder) -> bool
fn eq(&self, other: &ValidateSolFunctionPackageContentMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ValidateSolFunctionPackageContentMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ValidateSolFunctionPackageContentMetadataBuilder
impl Send for ValidateSolFunctionPackageContentMetadataBuilder
impl Sync for ValidateSolFunctionPackageContentMetadataBuilder
impl Unpin for ValidateSolFunctionPackageContentMetadataBuilder
impl UnwindSafe for ValidateSolFunctionPackageContentMetadataBuilder
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.