#[non_exhaustive]pub struct PutSolFunctionPackageContentMetadata {
pub vnfd: Option<FunctionArtifactMeta>,
}Expand description
Update metadata in a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.vnfd: Option<FunctionArtifactMeta>Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
Implementations§
source§impl PutSolFunctionPackageContentMetadata
impl PutSolFunctionPackageContentMetadata
sourcepub fn vnfd(&self) -> Option<&FunctionArtifactMeta>
pub fn vnfd(&self) -> Option<&FunctionArtifactMeta>
Metadata for function package artifacts.
Artifacts are the contents of the package descriptor file and the state of the package.
source§impl PutSolFunctionPackageContentMetadata
impl PutSolFunctionPackageContentMetadata
sourcepub fn builder() -> PutSolFunctionPackageContentMetadataBuilder
pub fn builder() -> PutSolFunctionPackageContentMetadataBuilder
Creates a new builder-style object to manufacture PutSolFunctionPackageContentMetadata.
Trait Implementations§
source§impl Clone for PutSolFunctionPackageContentMetadata
impl Clone for PutSolFunctionPackageContentMetadata
source§fn clone(&self) -> PutSolFunctionPackageContentMetadata
fn clone(&self) -> PutSolFunctionPackageContentMetadata
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 PartialEq for PutSolFunctionPackageContentMetadata
impl PartialEq for PutSolFunctionPackageContentMetadata
source§fn eq(&self, other: &PutSolFunctionPackageContentMetadata) -> bool
fn eq(&self, other: &PutSolFunctionPackageContentMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PutSolFunctionPackageContentMetadata
Auto Trait Implementations§
impl RefUnwindSafe for PutSolFunctionPackageContentMetadata
impl Send for PutSolFunctionPackageContentMetadata
impl Sync for PutSolFunctionPackageContentMetadata
impl Unpin for PutSolFunctionPackageContentMetadata
impl UnwindSafe for PutSolFunctionPackageContentMetadata
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.