#[non_exhaustive]pub struct PutSolFunctionPackageContentMetadataBuilder { /* private fields */ }Expand description
A builder for PutSolFunctionPackageContentMetadata.
Implementations§
source§impl PutSolFunctionPackageContentMetadataBuilder
impl PutSolFunctionPackageContentMetadataBuilder
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) -> PutSolFunctionPackageContentMetadata
pub fn build(self) -> PutSolFunctionPackageContentMetadata
Consumes the builder and constructs a PutSolFunctionPackageContentMetadata.
Trait Implementations§
source§impl Clone for PutSolFunctionPackageContentMetadataBuilder
impl Clone for PutSolFunctionPackageContentMetadataBuilder
source§fn clone(&self) -> PutSolFunctionPackageContentMetadataBuilder
fn clone(&self) -> PutSolFunctionPackageContentMetadataBuilder
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 PutSolFunctionPackageContentMetadataBuilder
impl Default for PutSolFunctionPackageContentMetadataBuilder
source§fn default() -> PutSolFunctionPackageContentMetadataBuilder
fn default() -> PutSolFunctionPackageContentMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutSolFunctionPackageContentMetadataBuilder
impl PartialEq for PutSolFunctionPackageContentMetadataBuilder
source§fn eq(&self, other: &PutSolFunctionPackageContentMetadataBuilder) -> bool
fn eq(&self, other: &PutSolFunctionPackageContentMetadataBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutSolFunctionPackageContentMetadataBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PutSolFunctionPackageContentMetadataBuilder
impl Send for PutSolFunctionPackageContentMetadataBuilder
impl Sync for PutSolFunctionPackageContentMetadataBuilder
impl Unpin for PutSolFunctionPackageContentMetadataBuilder
impl UnwindSafe for PutSolFunctionPackageContentMetadataBuilder
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.