pub struct ReplyOwned {
pub status: Status,
pub flags: ReplyFlags,
pub server_message: String,
pub data: Vec<u8>,
}Available on crate feature
std only.Expand description
An authentication reply packet with owned fields.
Fields§
§status: StatusThe status, as returned by the server.
flags: ReplyFlagsThe flags set in the server response.
server_message: StringThe message to be displayed to the user.
data: Vec<u8>The domain-specific data included in the reply.
Trait Implementations§
Source§impl Clone for ReplyOwned
impl Clone for ReplyOwned
Source§fn clone(&self) -> ReplyOwned
fn clone(&self) -> ReplyOwned
Returns a duplicate of the value. Read more
1.0.0 · 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 ReplyOwned
impl Debug for ReplyOwned
Source§impl Hash for ReplyOwned
impl Hash for ReplyOwned
Source§impl PartialEq for ReplyOwned
impl PartialEq for ReplyOwned
impl Eq for ReplyOwned
impl StructuralPartialEq for ReplyOwned
Auto Trait Implementations§
impl Freeze for ReplyOwned
impl RefUnwindSafe for ReplyOwned
impl Send for ReplyOwned
impl Sync for ReplyOwned
impl Unpin for ReplyOwned
impl UnwindSafe for ReplyOwned
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<B> PacketBody for Bwhere
B: FromBorrowedBody,
impl<B> PacketBody for Bwhere
B: FromBorrowedBody,
Source§const TYPE: PacketType = const TYPE: PacketType =
<<B as FromBorrowedBody>::Borrowed as PacketBody>::TYPE;
const TYPE: PacketType = const TYPE: PacketType = <<B as FromBorrowedBody>::Borrowed as PacketBody>::TYPE;
Type of the packet (one of authentication, authorization, or accounting).
Source§const REQUIRED_FIELDS_LENGTH: usize = const REQUIRED_FIELDS_LENGTH: usize =
<<B as FromBorrowedBody>::Borrowed as PacketBody>::REQUIRED_FIELDS_LENGTH;
const REQUIRED_FIELDS_LENGTH: usize = const REQUIRED_FIELDS_LENGTH: usize = <<B as FromBorrowedBody>::Borrowed as PacketBody>::REQUIRED_FIELDS_LENGTH;
Length of body just including required fields.
Source§fn required_minor_version(&self) -> Option<MinorVersion>
fn required_minor_version(&self) -> Option<MinorVersion>
Required protocol minor version based on the contents of the packet body. Read more