pub struct Join<'a> {
pub password: &'a str,
pub name: &'a str,
pub version: &'a str,
}
Expand description
The admin announces and authenticates itself to the server.
Fields§
§password: &'a str
Password the server is expecting for this network.
name: &'a str
Name of the application being used to connect.
version: &'a str
Version string of the application being used to connect.
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Join<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Join<'a>
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<'a> Copy for Join<'a>
impl<'a> Eq for Join<'a>
impl<'a> StructuralPartialEq for Join<'a>
Auto Trait Implementations§
impl<'a> Freeze for Join<'a>
impl<'a> RefUnwindSafe for Join<'a>
impl<'a> Send for Join<'a>
impl<'a> Sync for Join<'a>
impl<'a> Unpin for Join<'a>
impl<'a> UnwindSafe for Join<'a>
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