pub struct ApiKeyCredential {
pub key: Option<String>,
pub env: Option<IndexMap<String, String>>,
}Expand description
Values may be literals, $VAR templates or !commands; see pi’s
resolve-config-value.ts.
Fields§
§key: Option<String>§env: Option<IndexMap<String, String>>Extra environment for the provider, such as a region.
Trait Implementations§
Source§impl Clone for ApiKeyCredential
impl Clone for ApiKeyCredential
Source§impl Debug for ApiKeyCredential
impl Debug for ApiKeyCredential
Source§impl Default for ApiKeyCredential
impl Default for ApiKeyCredential
Source§impl<'de> Deserialize<'de> for ApiKeyCredential
impl<'de> Deserialize<'de> for ApiKeyCredential
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ApiKeyCredential
impl PartialEq for ApiKeyCredential
Source§impl Serialize for ApiKeyCredential
impl Serialize for ApiKeyCredential
impl StructuralPartialEq for ApiKeyCredential
Auto Trait Implementations§
impl Freeze for ApiKeyCredential
impl RefUnwindSafe for ApiKeyCredential
impl Send for ApiKeyCredential
impl Sync for ApiKeyCredential
impl Unpin for ApiKeyCredential
impl UnsafeUnpin for ApiKeyCredential
impl UnwindSafe for ApiKeyCredential
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