pub struct SetNicknameParams {
pub nickname: String,
}Expand description
Params of Request::SetNickname: this node’s new self-nickname (#37). Display-only
semantics: it names this node in FUTURE invites/presentations; peers keep the nickname
they stored at pairing time until a re-invite.
Fields§
§nickname: StringTrait Implementations§
Source§impl Clone for SetNicknameParams
impl Clone for SetNicknameParams
Source§fn clone(&self) -> SetNicknameParams
fn clone(&self) -> SetNicknameParams
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 SetNicknameParams
impl Debug for SetNicknameParams
Source§impl<'de> Deserialize<'de> for SetNicknameParams
impl<'de> Deserialize<'de> for SetNicknameParams
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 SetNicknameParams
Source§impl PartialEq for SetNicknameParams
impl PartialEq for SetNicknameParams
Source§impl Serialize for SetNicknameParams
impl Serialize for SetNicknameParams
impl StructuralPartialEq for SetNicknameParams
Auto Trait Implementations§
impl Freeze for SetNicknameParams
impl RefUnwindSafe for SetNicknameParams
impl Send for SetNicknameParams
impl Sync for SetNicknameParams
impl Unpin for SetNicknameParams
impl UnsafeUnpin for SetNicknameParams
impl UnwindSafe for SetNicknameParams
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