EnvironmentInterface

Trait EnvironmentInterface 

Source
pub trait EnvironmentInterface:
    Send
    + Sync
    + 'static {
    // Required methods
    fn api_key(&self) -> &Secret;
    fn organization_id(&self) -> Option<&str>;
    fn project_id(&self) -> Option<&str>;
}
Expand description

A trait defining the interface for environment-related information.

Required Methods§

Source

fn api_key(&self) -> &Secret

Returns the API key.

Source

fn organization_id(&self) -> Option<&str>

Returns the organization ID, if available.

Source

fn project_id(&self) -> Option<&str>

Returns the project ID, if available.

Implementors§