pub struct PolymarketSessionKeyClientConfig {
pub private_key: SecretString,
pub api_key: SecretString,
pub api_secret: SecretString,
pub passphrase: SecretString,
pub builder_api_key: SecretString,
pub builder_api_secret: SecretString,
pub builder_passphrase: SecretString,
pub funder: String,
pub base_url_http: Option<String>,
pub base_url_relayer: Option<String>,
pub proxy_url: Option<SecretString>,
}Expand description
Explicit owner and Builder credentials for session administration.
Keep this configuration outside the trading runtime. Credentials do not fall back to the environment.
Fields§
§private_key: SecretString§api_key: SecretString§api_secret: SecretString§passphrase: SecretString§builder_api_key: SecretString§builder_api_secret: SecretString§builder_passphrase: SecretString§funder: String§base_url_http: Option<String>§base_url_relayer: Option<String>§proxy_url: Option<SecretString>Trait Implementations§
Auto Trait Implementations§
impl Freeze for PolymarketSessionKeyClientConfig
impl RefUnwindSafe for PolymarketSessionKeyClientConfig
impl Send for PolymarketSessionKeyClientConfig
impl Sync for PolymarketSessionKeyClientConfig
impl Unpin for PolymarketSessionKeyClientConfig
impl UnsafeUnpin for PolymarketSessionKeyClientConfig
impl UnwindSafe for PolymarketSessionKeyClientConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more