Struct aws_sdk_amplifyuibuilder::types::Theme
source · #[non_exhaustive]pub struct Theme {
pub app_id: String,
pub environment_name: String,
pub id: String,
pub name: String,
pub created_at: DateTime,
pub modified_at: Option<DateTime>,
pub values: Vec<ThemeValues>,
pub overrides: Option<Vec<ThemeValues>>,
pub tags: Option<HashMap<String, String>>,
}Expand description
A theme is a collection of style settings that apply globally to the components associated with an Amplify application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.app_id: StringThe unique ID for the Amplify app associated with the theme.
environment_name: StringThe name of the backend environment that is a part of the Amplify app.
id: StringThe ID for the theme.
name: StringThe name of the theme.
created_at: DateTimeThe time that the theme was created.
modified_at: Option<DateTime>The time that the theme was modified.
values: Vec<ThemeValues>A list of key-value pairs that defines the properties of the theme.
overrides: Option<Vec<ThemeValues>>Describes the properties that can be overriden to customize a theme.
One or more key-value pairs to use when tagging the theme.
Implementations§
source§impl Theme
impl Theme
sourcepub fn environment_name(&self) -> &str
pub fn environment_name(&self) -> &str
The name of the backend environment that is a part of the Amplify app.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time that the theme was created.
sourcepub fn modified_at(&self) -> Option<&DateTime>
pub fn modified_at(&self) -> Option<&DateTime>
The time that the theme was modified.
sourcepub fn values(&self) -> &[ThemeValues]
pub fn values(&self) -> &[ThemeValues]
A list of key-value pairs that defines the properties of the theme.
sourcepub fn overrides(&self) -> &[ThemeValues]
pub fn overrides(&self) -> &[ThemeValues]
Describes the properties that can be overriden to customize a theme.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .overrides.is_none().
One or more key-value pairs to use when tagging the theme.
Trait Implementations§
source§impl PartialEq for Theme
impl PartialEq for Theme
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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
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>
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>
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 more