pub struct RealBackend { /* private fields */ }Implementations§
Source§impl RealBackend
impl RealBackend
pub fn new(config: ClientConfig, client: BipaClient) -> Self
pub fn with_env_session( config: ClientConfig, client: BipaClient, session: EnvSession, ) -> Self
pub fn with_stored_credentials( config: ClientConfig, client: BipaClient, credentials: CredentialsStore, ) -> Self
Trait Implementations§
Source§impl PixBackend for RealBackend
impl PixBackend for RealBackend
fn set_mcp_client_name(&mut self, _name: String)
fn set_jwt(&mut self, jwt: String)
fn whoami<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<WhoamiRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn account<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<AccountRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn balance<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<BalanceRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn history<'life0, 'async_trait>(
&'life0 mut self,
query: HistoryQuery,
) -> Pin<Box<dyn Future<Output = Result<HistoryRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn deposit<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<DepositRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn limits<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<PixLimitRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pay<'life0, 'async_trait>(
&'life0 mut self,
input: PayInput,
) -> Pin<Box<dyn Future<Output = Result<PayTransferRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pix_list<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<DepositRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl !Freeze for RealBackend
impl !RefUnwindSafe for RealBackend
impl Send for RealBackend
impl Sync for RealBackend
impl Unpin for RealBackend
impl UnsafeUnpin for RealBackend
impl !UnwindSafe for RealBackend
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request