pub struct VaultServerConfig {
pub handle: String,
pub timeout: u16,
pub token: String,
pub port: u32,
pub version: String,
}Expand description
Configuration for bringing up a container running a dev instance of Vault.
Fields§
§handle: String§timeout: u16§token: String§port: u32§version: StringImplementations§
Trait Implementations§
Source§impl Clone for VaultServerConfig
impl Clone for VaultServerConfig
Source§fn clone(&self) -> VaultServerConfig
fn clone(&self) -> VaultServerConfig
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 moreSource§impl ServerConfig for VaultServerConfig
impl ServerConfig for VaultServerConfig
Source§fn to_comp(&self) -> Composition
fn to_comp(&self) -> Composition
Creates a Composition from this configuration
Source§fn to_instance(&self) -> TestInstance
fn to_instance(&self) -> TestInstance
Creates a new TestInstance and automatically adds the Composition
from this configuration to it.
Auto Trait Implementations§
impl Freeze for VaultServerConfig
impl RefUnwindSafe for VaultServerConfig
impl Send for VaultServerConfig
impl Sync for VaultServerConfig
impl Unpin for VaultServerConfig
impl UnwindSafe for VaultServerConfig
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