pub struct PairParams {
pub invite_line: String,
}Expand description
Params of Request::Pair: the copyable mcpmesh-invite: line. Defaultable — an
absent field reads as an empty line, which simply fails to decode (a clean pair error).
Fields§
§invite_line: StringTrait Implementations§
Source§impl Clone for PairParams
impl Clone for PairParams
Source§fn clone(&self) -> PairParams
fn clone(&self) -> PairParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PairParams
impl Debug for PairParams
Source§impl<'de> Deserialize<'de> for PairParams
impl<'de> Deserialize<'de> for PairParams
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
impl Eq for PairParams
Source§impl PartialEq for PairParams
impl PartialEq for PairParams
Source§impl Serialize for PairParams
impl Serialize for PairParams
impl StructuralPartialEq for PairParams
Auto Trait Implementations§
impl Freeze for PairParams
impl RefUnwindSafe for PairParams
impl Send for PairParams
impl Sync for PairParams
impl Unpin for PairParams
impl UnsafeUnpin for PairParams
impl UnwindSafe for PairParams
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