pub struct ClientOptions<'a> {
pub network_id: Option<usize>,
pub api_timeout: Option<u64>,
pub api_key_credentials: Option<ApiKeyCredentials<'a>>,
pub stark_private_key: Option<&'a str>,
pub eth_private_key: Option<&'a str>,
}Fields§
§network_id: Option<usize>§api_timeout: Option<u64>§api_key_credentials: Option<ApiKeyCredentials<'a>>§stark_private_key: Option<&'a str>§eth_private_key: Option<&'a str>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ClientOptions<'a>
impl<'a> RefUnwindSafe for ClientOptions<'a>
impl<'a> Send for ClientOptions<'a>
impl<'a> Sync for ClientOptions<'a>
impl<'a> Unpin for ClientOptions<'a>
impl<'a> UnwindSafe for ClientOptions<'a>
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