pub struct GetPublicKeyInfoParamsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build()
.
Implementations§
Source§impl<S: State> GetPublicKeyInfoParamsBuilder<S>
impl<S: State> GetPublicKeyInfoParamsBuilder<S>
Sourcepub fn build(self) -> GetPublicKeyInfoParamswhere
S: IsComplete,
pub fn build(self) -> GetPublicKeyInfoParamswhere
S: IsComplete,
Finish building and return the requested object
Sourcepub fn derivation_path(
self,
value: Vec<i32>,
) -> GetPublicKeyInfoParamsBuilder<SetDerivationPath<S>>where
S::DerivationPath: IsUnset,
pub fn derivation_path(
self,
value: Vec<i32>,
) -> GetPublicKeyInfoParamsBuilder<SetDerivationPath<S>>where
S::DerivationPath: IsUnset,
Required.
An array of integers representing the full BIP44 derivation path of the requested public key. The first element must always be 44.
Sourcepub fn algorithm(
self,
value: String,
) -> GetPublicKeyInfoParamsBuilder<SetAlgorithm<S>>where
S::Algorithm: IsUnset,
pub fn algorithm(
self,
value: String,
) -> GetPublicKeyInfoParamsBuilder<SetAlgorithm<S>>where
S::Algorithm: IsUnset,
Required.
Sourcepub fn compressed(
self,
value: bool,
) -> GetPublicKeyInfoParamsBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
pub fn compressed(
self,
value: bool,
) -> GetPublicKeyInfoParamsBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
Sourcepub fn maybe_compressed(
self,
value: Option<bool>,
) -> GetPublicKeyInfoParamsBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
pub fn maybe_compressed(
self,
value: Option<bool>,
) -> GetPublicKeyInfoParamsBuilder<SetCompressed<S>>where
S::Compressed: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for GetPublicKeyInfoParamsBuilder<S>
impl<S> RefUnwindSafe for GetPublicKeyInfoParamsBuilder<S>
impl<S> Send for GetPublicKeyInfoParamsBuilder<S>
impl<S> Sync for GetPublicKeyInfoParamsBuilder<S>
impl<S> Unpin for GetPublicKeyInfoParamsBuilder<S>
impl<S> UnwindSafe for GetPublicKeyInfoParamsBuilder<S>
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