pub struct AccountingPacket {
pub code: u8,
pub identifier: u8,
pub length: u16,
pub authenticator: [u8; 16],
pub attributes: Vec<AccountingAttribute>,
}
Fields§
§code: u8
§identifier: u8
§length: u16
§authenticator: [u8; 16]
§attributes: Vec<AccountingAttribute>
Trait Implementations§
Source§impl Clone for AccountingPacket
impl Clone for AccountingPacket
Source§fn clone(&self) -> AccountingPacket
fn clone(&self) -> AccountingPacket
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 AccountingPacket
impl Debug for AccountingPacket
Source§impl From<RadiusPacket> for AccountingPacket
impl From<RadiusPacket> for AccountingPacket
Source§fn from(pkt: RadiusPacket) -> Self
fn from(pkt: RadiusPacket) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountingPacket
impl RefUnwindSafe for AccountingPacket
impl Send for AccountingPacket
impl Sync for AccountingPacket
impl Unpin for AccountingPacket
impl UnwindSafe for AccountingPacket
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