pub struct WormholeWelcome {
pub welcome: Option<String>,
pub code: Code,
}๐Deprecated since 0.7.0: part of the response of
Wormhole::connect_without_code(...) and Wormhole::connect_with_code(...) please use 'MailboxConnection::create(...)/MailboxConnection::connect(..) and `Wormhole::connect(mailbox_connection)โ insteadExpand description
The result of the client-server handshake
Fieldsยง
ยงwelcome: Option<String>๐Deprecated since 0.7.0: part of the response of
Wormhole::connect_without_code(...) and Wormhole::connect_with_code(...) please use 'MailboxConnection::create(...)/MailboxConnection::connect(..) and `Wormhole::connect(mailbox_connection)โ insteadA welcome message from the server (think of โmessage of the dayโ). Should be displayed to the user if present.
code: Code๐Deprecated since 0.7.0: part of the response of
Wormhole::connect_without_code(...) and Wormhole::connect_with_code(...) please use 'MailboxConnection::create(...)/MailboxConnection::connect(..) and `Wormhole::connect(mailbox_connection)โ insteadThe wormhole code used in the exchange
Trait Implementationsยง
Sourceยงimpl Clone for WormholeWelcome
impl Clone for WormholeWelcome
Sourceยงfn clone(&self) -> WormholeWelcome
fn clone(&self) -> WormholeWelcome
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for WormholeWelcome
impl Debug for WormholeWelcome
Sourceยงimpl PartialEq for WormholeWelcome
impl PartialEq for WormholeWelcome
impl Eq for WormholeWelcome
impl StructuralPartialEq for WormholeWelcome
Auto Trait Implementationsยง
impl Freeze for WormholeWelcome
impl RefUnwindSafe for WormholeWelcome
impl Send for WormholeWelcome
impl Sync for WormholeWelcome
impl Unpin for WormholeWelcome
impl UnwindSafe for WormholeWelcome
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