pub struct TestConfig {
pub platform: String,
pub env: Option<String>,
pub tenant: Option<String>,
pub team: Option<String>,
pub credentials: Option<Value>,
pub secret_uri: Option<String>,
}Fields§
§platform: String§env: Option<String>§tenant: Option<String>§team: Option<String>§credentials: Option<Value>§secret_uri: Option<String>Implementations§
Source§impl TestConfig
impl TestConfig
pub fn from_env_or_secrets(platform: &str) -> Result<Option<Self>>
Trait Implementations§
Source§impl Clone for TestConfig
impl Clone for TestConfig
Source§fn clone(&self) -> TestConfig
fn clone(&self) -> TestConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TestConfig
impl RefUnwindSafe for TestConfig
impl Send for TestConfig
impl Sync for TestConfig
impl Unpin for TestConfig
impl UnwindSafe for TestConfig
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