Struct tensor_trade::TensorTradeClient
source · pub struct TensorTradeClient { /* private fields */ }Implementations§
source§impl TensorTradeClient
impl TensorTradeClient
pub fn new( api_key: String, private_key: String, rpc_url: Option<String> ) -> Result<Self>
pub fn collection(&self) -> Collection<'_>
pub fn user(&self) -> User<'_>
pub fn tensorswap(&self) -> Tensorswap<'_>
pub fn execute(&self) -> Execute<'_>
pub fn utils(&self) -> Utils<'_>
Trait Implementations§
source§impl Clone for TensorTradeClient
impl Clone for TensorTradeClient
source§fn clone(&self) -> TensorTradeClient
fn clone(&self) -> TensorTradeClient
Returns a copy 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 !RefUnwindSafe for TensorTradeClient
impl Send for TensorTradeClient
impl Sync for TensorTradeClient
impl Unpin for TensorTradeClient
impl !UnwindSafe for TensorTradeClient
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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