pub struct Address {
address_command: AddressCommand,
}
Fields§
§address_command: AddressCommand
Implementations§
source§impl Address
impl Address
pub fn new(address_command: AddressCommand) -> Self
pub fn info<S: Into<String>>(self, public_key: S) -> BTreeMap<String, String>
pub fn account<S: Into<String>>( self, public_key: S, prefix: Option<S>, discrimination: Discrimination ) -> String
pub fn account_expect_fail<S: Into<String>>( self, public_key: S, prefix: Option<S>, discrimination: Discrimination, expected_msg: &str )
pub fn info_expect_fail<S: Into<String>>( self, public_key: S, expected_msg: &str )
pub fn single<S: Into<String>>( self, public_key: S, prefix: Option<S>, discrimination: Discrimination ) -> String
pub fn single_expect_fail<S: Into<String>>( self, public_key: S, prefix: Option<S>, discrimination: Discrimination, expected_msg: &str )
pub fn delegation<S: Into<String>, P: Into<String>>( self, public_key: S, delegation_key: P, discrimination: Discrimination ) -> String
pub fn delegation_expect_fail<S: Into<String>, P: Into<String>>( self, public_key: S, delegation_key: P, discrimination: Discrimination, expected_msg: &str )
Auto Trait Implementations§
impl !RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl !UnwindSafe for Address
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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