pub struct FetchDepositAddressListWithNetworkParamsBuilder { /* private fields */ }Expand description
Builder for FetchDepositAddressListWithNetworkParams.
Implementations§
Source§impl FetchDepositAddressListWithNetworkParamsBuilder
impl FetchDepositAddressListWithNetworkParamsBuilder
Sourcepub fn coin<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn coin<VALUE: Into<String>>(self, value: VALUE) -> Self
The coin parameter.
This field is **required.
Sourcepub fn network<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn network<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
The network parameter.
This field is **optional.
Sourcepub fn build(
self,
) -> Result<FetchDepositAddressListWithNetworkParams, ParamBuildError>
pub fn build( self, ) -> Result<FetchDepositAddressListWithNetworkParams, ParamBuildError>
Builds a new FetchDepositAddressListWithNetworkParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FetchDepositAddressListWithNetworkParamsBuilder
impl RefUnwindSafe for FetchDepositAddressListWithNetworkParamsBuilder
impl Send for FetchDepositAddressListWithNetworkParamsBuilder
impl Sync for FetchDepositAddressListWithNetworkParamsBuilder
impl Unpin for FetchDepositAddressListWithNetworkParamsBuilder
impl UnsafeUnpin for FetchDepositAddressListWithNetworkParamsBuilder
impl UnwindSafe for FetchDepositAddressListWithNetworkParamsBuilder
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