pub struct ConfirmName { /* private fields */ }
Expand description
Confirm Name Command
Implementations§
Source§impl ConfirmName
impl ConfirmName
Sourcepub fn new(
address: Address,
address_type: AddressType,
name_known: bool,
) -> Self
pub fn new( address: Address, address_type: AddressType, name_known: bool, ) -> Self
Constructs a new ConfirmName
.
Trait Implementations§
Source§impl CommandRequest for ConfirmName
impl CommandRequest for ConfirmName
Source§const CODE: CommandCode = CommandCode::ConfirmName
const CODE: CommandCode = CommandCode::ConfirmName
Command code.
Source§type Reply = ConfirmNameReply
type Reply = ConfirmNameReply
Return type for this command.
Source§impl Debug for ConfirmName
impl Debug for ConfirmName
Source§impl From<ConfirmName> for Command
impl From<ConfirmName> for Command
Source§fn from(v: ConfirmName) -> Self
fn from(v: ConfirmName) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfirmName
impl RefUnwindSafe for ConfirmName
impl Send for ConfirmName
impl Sync for ConfirmName
impl Unpin for ConfirmName
impl UnwindSafe for ConfirmName
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