Struct aws_sdk_appstream::types::Theme
source · #[non_exhaustive]pub struct Theme {
pub stack_name: Option<String>,
pub state: Option<ThemeState>,
pub theme_title_text: Option<String>,
pub theme_styling: Option<ThemeStyling>,
pub theme_footer_links: Option<Vec<ThemeFooterLink>>,
pub theme_organization_logo_url: Option<String>,
pub theme_favicon_url: Option<String>,
pub created_time: Option<DateTime>,
}
Expand description
The custom branding theme, which might include a custom logo, website links, and other branding to display to users.
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.stack_name: Option<String>
The stack that has the custom branding theme.
state: Option<ThemeState>
The state of the theme.
theme_title_text: Option<String>
The browser tab page title.
theme_styling: Option<ThemeStyling>
The color that is used for the website links, text, buttons, and catalog page background.
The website links that display in the catalog page footer.
theme_organization_logo_url: Option<String>
The URL of the logo that displays in the catalog page header.
theme_favicon_url: Option<String>
The URL of the icon that displays at the top of a user's browser tab during streaming sessions.
created_time: Option<DateTime>
The time the theme was created.
Implementations§
source§impl Theme
impl Theme
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The stack that has the custom branding theme.
sourcepub fn state(&self) -> Option<&ThemeState>
pub fn state(&self) -> Option<&ThemeState>
The state of the theme.
sourcepub fn theme_title_text(&self) -> Option<&str>
pub fn theme_title_text(&self) -> Option<&str>
The browser tab page title.
sourcepub fn theme_styling(&self) -> Option<&ThemeStyling>
pub fn theme_styling(&self) -> Option<&ThemeStyling>
The color that is used for the website links, text, buttons, and catalog page background.
The website links that display in the catalog page footer.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .theme_footer_links.is_none()
.
sourcepub fn theme_organization_logo_url(&self) -> Option<&str>
pub fn theme_organization_logo_url(&self) -> Option<&str>
The URL of the logo that displays in the catalog page header.
sourcepub fn theme_favicon_url(&self) -> Option<&str>
pub fn theme_favicon_url(&self) -> Option<&str>
The URL of the icon that displays at the top of a user's browser tab during streaming sessions.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time the theme was created.
Trait Implementations§
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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