#[non_exhaustive]pub struct FrameworkMetadataBuilder { /* private fields */ }
Expand description
A builder for FrameworkMetadata
.
Implementations§
source§impl FrameworkMetadataBuilder
impl FrameworkMetadataBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the framework.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the framework.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the framework.
sourcepub fn logo(self, input: impl Into<String>) -> Self
pub fn logo(self, input: impl Into<String>) -> Self
The logo that's associated with the framework.
sourcepub fn set_logo(self, input: Option<String>) -> Self
pub fn set_logo(self, input: Option<String>) -> Self
The logo that's associated with the framework.
sourcepub fn compliance_type(self, input: impl Into<String>) -> Self
pub fn compliance_type(self, input: impl Into<String>) -> Self
The compliance standard that's associated with the framework. For example, this could be PCI DSS or HIPAA.
sourcepub fn set_compliance_type(self, input: Option<String>) -> Self
pub fn set_compliance_type(self, input: Option<String>) -> Self
The compliance standard that's associated with the framework. For example, this could be PCI DSS or HIPAA.
sourcepub fn get_compliance_type(&self) -> &Option<String>
pub fn get_compliance_type(&self) -> &Option<String>
The compliance standard that's associated with the framework. For example, this could be PCI DSS or HIPAA.
sourcepub fn build(self) -> FrameworkMetadata
pub fn build(self) -> FrameworkMetadata
Consumes the builder and constructs a FrameworkMetadata
.
Trait Implementations§
source§impl Clone for FrameworkMetadataBuilder
impl Clone for FrameworkMetadataBuilder
source§fn clone(&self) -> FrameworkMetadataBuilder
fn clone(&self) -> FrameworkMetadataBuilder
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 FrameworkMetadataBuilder
impl Debug for FrameworkMetadataBuilder
source§impl Default for FrameworkMetadataBuilder
impl Default for FrameworkMetadataBuilder
source§fn default() -> FrameworkMetadataBuilder
fn default() -> FrameworkMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FrameworkMetadataBuilder
impl PartialEq for FrameworkMetadataBuilder
source§fn eq(&self, other: &FrameworkMetadataBuilder) -> bool
fn eq(&self, other: &FrameworkMetadataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FrameworkMetadataBuilder
Auto Trait Implementations§
impl Freeze for FrameworkMetadataBuilder
impl RefUnwindSafe for FrameworkMetadataBuilder
impl Send for FrameworkMetadataBuilder
impl Sync for FrameworkMetadataBuilder
impl Unpin for FrameworkMetadataBuilder
impl UnwindSafe for FrameworkMetadataBuilder
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>
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.