pub trait Env:
'static
+ AsRef<str>
+ Debug
+ Send
+ Sync
+ Unpin {
// Required methods
fn from_str(val: &str) -> Option<Self>
where Self: Sized;
fn fps_host(&self) -> &str;
fn freedom_entrypoint(&self) -> Url;
}Expand description
Shared behavior for atlas environments
Required Methods§
fn from_str(val: &str) -> Option<Self>where
Self: Sized,
Sourcefn freedom_entrypoint(&self) -> Url
fn freedom_entrypoint(&self) -> Url
The entrypoint for the freedom API for the given environment
§Note
Each environment contains the path “/api” as all requests initiate from this point