pub struct Taurus { /* private fields */ }Implementations§
Source§impl Taurus
impl Taurus
pub fn new(cfg: &Taurus) -> Result<Self, Error>
pub fn login(&mut self, email: &str, password: &str) -> Result<(), Error>
pub fn addresses(&self) -> Result<AddressesResponse, Error>
pub fn addresses_by_address(&self, wallet: Wallet) -> Result<Addresses, Error>
pub fn request(&self, params: RequestParams) -> Result<RequestResponse, Error>
pub fn add_contract_whitelist( &self, params: WhitelistParams, ) -> Result<WhitelistResponse, Error>
pub fn add_addr_whitelist( &self, params: WhitelistParams, ) -> Result<WhitelistResponse, Error>
pub fn ethereum_approve( &self, params: ApproveParams, ) -> Result<RequestResponse, Error>
pub fn request_by_id(&self, id: u64) -> Result<RequestResponse, Error>
Auto Trait Implementations§
impl Freeze for Taurus
impl !RefUnwindSafe for Taurus
impl Send for Taurus
impl Sync for Taurus
impl Unpin for Taurus
impl !UnwindSafe for Taurus
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