Struct magic_wormhole::WormholeWelcome
source · pub struct WormholeWelcome {
pub welcome: Option<String>,
pub code: Code,
}
Expand description
The result of the client-server handshake
Fields§
§welcome: Option<String>
A welcome message from the server (think of “message of the day”). Should be displayed to the user if present.
code: Code
Trait Implementations§
source§impl Clone for WormholeWelcome
impl Clone for WormholeWelcome
source§fn clone(&self) -> WormholeWelcome
fn clone(&self) -> WormholeWelcome
Returns a copy 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
source§fn eq(&self, other: &WormholeWelcome) -> bool
fn eq(&self, other: &WormholeWelcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WormholeWelcome
impl StructuralEq for WormholeWelcome
impl StructuralPartialEq for WormholeWelcome
Auto Trait Implementations§
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