pub struct ConnectRequest {
pub config: Config,
pub mnemonic: Option<String>,
pub passphrase: Option<String>,
pub seed: Option<Vec<u8>>,
}
Expand description
An argument when calling crate::sdk::LiquidSdk::connect.
The resquest takes either a mnemonic
and passphrase
, or a seed
.
Fields§
§config: Config
The SDK Config
mnemonic: Option<String>
The optional Liquid wallet mnemonic
passphrase: Option<String>
The optional passphrase for the mnemonic
seed: Option<Vec<u8>>
The optional Liquid wallet seed
Trait Implementations§
Source§impl IntoDart for ConnectRequest
impl IntoDart for ConnectRequest
Source§impl IntoIntoDart<ConnectRequest> for ConnectRequest
impl IntoIntoDart<ConnectRequest> for ConnectRequest
fn into_into_dart(self) -> ConnectRequest
impl IntoDartExceptPrimitive for ConnectRequest
Auto Trait Implementations§
impl Freeze for ConnectRequest
impl RefUnwindSafe for ConnectRequest
impl Send for ConnectRequest
impl Sync for ConnectRequest
impl Unpin for ConnectRequest
impl UnwindSafe for ConnectRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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
Source§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