Struct aws_sdk_amplifyuibuilder::types::CodegenDependency
source · #[non_exhaustive]pub struct CodegenDependency {
pub name: Option<String>,
pub supported_version: Option<String>,
pub is_sem_ver: Option<bool>,
pub reason: Option<String>,
}Expand description
Dependency package that may be required for the project code to run.
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.name: Option<String>Name of the dependency package.
supported_version: Option<String>Indicates the version of the supported dependency package.
is_sem_ver: Option<bool>Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
reason: Option<String>Indicates the reason to include the dependency package in your project code.
Implementations§
source§impl CodegenDependency
impl CodegenDependency
sourcepub fn supported_version(&self) -> Option<&str>
pub fn supported_version(&self) -> Option<&str>
Indicates the version of the supported dependency package.
sourcepub fn is_sem_ver(&self) -> Option<bool>
pub fn is_sem_ver(&self) -> Option<bool>
Determines if the dependency package is using Semantic versioning. If set to true, it indicates that the dependency package uses Semantic versioning.
source§impl CodegenDependency
impl CodegenDependency
sourcepub fn builder() -> CodegenDependencyBuilder
pub fn builder() -> CodegenDependencyBuilder
Creates a new builder-style object to manufacture CodegenDependency.
Trait Implementations§
source§impl Clone for CodegenDependency
impl Clone for CodegenDependency
source§fn clone(&self) -> CodegenDependency
fn clone(&self) -> CodegenDependency
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 CodegenDependency
impl Debug for CodegenDependency
source§impl PartialEq for CodegenDependency
impl PartialEq for CodegenDependency
source§fn eq(&self, other: &CodegenDependency) -> bool
fn eq(&self, other: &CodegenDependency) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodegenDependency
Auto Trait Implementations§
impl Freeze for CodegenDependency
impl RefUnwindSafe for CodegenDependency
impl Send for CodegenDependency
impl Sync for CodegenDependency
impl Unpin for CodegenDependency
impl UnwindSafe for CodegenDependency
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.