pub struct ResolvedConfig {
pub environment_name: String,
pub api_endpoint: Url,
pub api_key: SecretString,
pub rate_limit_per_minute: u32,
pub resources: ResourcesConfig,
pub naming: NamingConfig,
}Expand description
Fully-resolved config: an environment has been picked and the API key has been pulled out of the OS environment.
Fields§
§environment_name: String§api_endpoint: Url§api_key: SecretStringAPI key, secrecy-wrapped. Use secrecy::ExposeSecret at the call
site that needs the plaintext (typically only the BrazeClient
constructor).
rate_limit_per_minute: u32§resources: ResourcesConfig§naming: NamingConfigTrait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedConfig
impl RefUnwindSafe for ResolvedConfig
impl Send for ResolvedConfig
impl Sync for ResolvedConfig
impl Unpin for ResolvedConfig
impl UnsafeUnpin for ResolvedConfig
impl UnwindSafe for ResolvedConfig
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