pub struct HelloSpec {
pub serialization_ver: u8,
pub compression_mode: u16,
pub proto_ver: u16,
pub auth_mechs: AuthMechsBitset,
pub username_legacy: String,
}
Fields§
§serialization_ver: u8
§compression_mode: u16
§proto_ver: u16
§auth_mechs: AuthMechsBitset
§username_legacy: String
Trait Implementations§
Source§impl Deserialize for HelloSpec
impl Deserialize for HelloSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<HelloSpec> for ToClientCommand
impl From<HelloSpec> for ToClientCommand
impl StructuralPartialEq for HelloSpec
Auto Trait Implementations§
impl Freeze for HelloSpec
impl RefUnwindSafe for HelloSpec
impl Send for HelloSpec
impl Sync for HelloSpec
impl Unpin for HelloSpec
impl UnwindSafe for HelloSpec
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