pub struct Config {
pub license: Option<PathBuf>,
pub license_key: Option<PathBuf>,
pub secrets: Option<PathBuf>,
pub userdb: Option<Url>,
pub symbology: Option<Url>,
pub marketdata: BTreeMap<MarketdataVenue, Url>,
pub core: Option<Url>,
}
Fields§
§license: Option<PathBuf>
TLS client identity to present to upstream Architect services; should point to the Architect license certificate file.
license_key: Option<PathBuf>
TLS client identity key; if not specified, the corresponding private key will be looked for at the same path but with .key extension.
secrets: Option<PathBuf>
If set, use a non-default secrets store path.
userdb: Option<Url>
§symbology: Option<Url>
§marketdata: BTreeMap<MarketdataVenue, Url>
§core: Option<Url>
Connect to the specified Architect core
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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