#[non_exhaustive]pub struct ProjectAppConfigResourceConfig {
pub application_id: Option<String>,
pub environment_id: Option<String>,
}
Expand description
Use this parameter to configure client-side evaluation for your project. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation to assign the variations. This mitigates the latency and availability risks that come with an API call.
ProjectAppConfigResource
is a structure that defines the configuration of how your application integrates with AppConfig to run client-side evaluation.
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.application_id: Option<String>
The ID of the AppConfig application to use for client-side evaluation.
environment_id: Option<String>
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId
.
Implementations§
source§impl ProjectAppConfigResourceConfig
impl ProjectAppConfigResourceConfig
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the AppConfig application to use for client-side evaluation.
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the AppConfig environment to use for client-side evaluation. This must be an environment that is within the application that you specify for applicationId
.
source§impl ProjectAppConfigResourceConfig
impl ProjectAppConfigResourceConfig
sourcepub fn builder() -> ProjectAppConfigResourceConfigBuilder
pub fn builder() -> ProjectAppConfigResourceConfigBuilder
Creates a new builder-style object to manufacture ProjectAppConfigResourceConfig
.
Trait Implementations§
source§impl Clone for ProjectAppConfigResourceConfig
impl Clone for ProjectAppConfigResourceConfig
source§fn clone(&self) -> ProjectAppConfigResourceConfig
fn clone(&self) -> ProjectAppConfigResourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ProjectAppConfigResourceConfig
impl PartialEq for ProjectAppConfigResourceConfig
source§fn eq(&self, other: &ProjectAppConfigResourceConfig) -> bool
fn eq(&self, other: &ProjectAppConfigResourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProjectAppConfigResourceConfig
Auto Trait Implementations§
impl Freeze for ProjectAppConfigResourceConfig
impl RefUnwindSafe for ProjectAppConfigResourceConfig
impl Send for ProjectAppConfigResourceConfig
impl Sync for ProjectAppConfigResourceConfig
impl Unpin for ProjectAppConfigResourceConfig
impl UnwindSafe for ProjectAppConfigResourceConfig
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