Struct jormungandr_automation::jcli::command::address::single::SingleCommand
source · pub struct SingleCommand {
command: Command,
}
Fields§
§command: Command
Implementations§
source§impl SingleCommand
impl SingleCommand
pub fn new(command: Command) -> Self
pub fn public_key<S: Into<String>>(self, public_key: S) -> Self
pub fn test_discrimination(self) -> Self
pub fn delegation_key<S: Into<String>>(self, delegation_key: S) -> Self
pub fn prefix<S: Into<String>>(self, prefix: S) -> Self
pub fn build(self) -> Command
Auto Trait Implementations§
impl !RefUnwindSafe for SingleCommand
impl Send for SingleCommand
impl Sync for SingleCommand
impl Unpin for SingleCommand
impl !UnwindSafe for SingleCommand
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