pub struct JoinParams {
pub ticket: String,
pub device_name: Option<String>,
}Expand description
Parameters of JOIN.
Fields§
§ticket: StringThe ticket the inviter produced.
device_name: Option<String>The name this device will carry in the ledger. None uses the host name.
Trait Implementations§
Source§impl Clone for JoinParams
impl Clone for JoinParams
Source§impl Debug for JoinParams
impl Debug for JoinParams
Source§impl<'de> Deserialize<'de> for JoinParams
impl<'de> Deserialize<'de> for JoinParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JoinParams
impl RefUnwindSafe for JoinParams
impl Send for JoinParams
impl Sync for JoinParams
impl Unpin for JoinParams
impl UnsafeUnpin for JoinParams
impl UnwindSafe for JoinParams
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