pub struct EthPrivate<'a> { /* private fields */ }Implementations§
Source§impl EthPrivate<'_>
impl EthPrivate<'_>
pub fn new<'a>( host: &'a str, network_id: usize, api_timeout: u64, eth_private_key: &'a str, ) -> EthPrivate<'a>
pub async fn recovery(&self, ethereum_address: &str) -> Result<RecoveryResponse>
pub async fn create_api_key( &self, ethereum_address: &str, ) -> Result<ApiKeyCredentialsResponse>
pub async fn delete_api_key( &self, api_key: &str, ethereum_address: &str, ) -> Result<StatusCode>
Trait Implementations§
Source§impl<'a> Clone for EthPrivate<'a>
impl<'a> Clone for EthPrivate<'a>
Source§fn clone(&self) -> EthPrivate<'a>
fn clone(&self) -> EthPrivate<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for EthPrivate<'a>
impl<'a> !RefUnwindSafe for EthPrivate<'a>
impl<'a> Send for EthPrivate<'a>
impl<'a> Sync for EthPrivate<'a>
impl<'a> Unpin for EthPrivate<'a>
impl<'a> !UnwindSafe for EthPrivate<'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