pub struct Connection {
pub profile: String,
pub target: String,
pub kind: String,
pub fields: Map<String, Value>,
pub secrets: Vec<String>,
}Expand description
One profile target as templates see it: target.* and profile('name').*.
Fields§
§profile: StringThe profile’s name.
target: StringThe target’s name (dev, prod).
kind: StringThe plugin type.
fields: Map<String, Value>Every field, with env_var() already rendered.
secrets: Vec<String>Fields that hold secrets: reading one is an error.
Trait Implementations§
Source§impl Clone for Connection
impl Clone for Connection
Source§impl Debug for Connection
impl Debug for Connection
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
impl UnwindSafe for Connection
Blanket Implementations§
impl<T> Allocation for T
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