#[repr(u32)]pub enum AttributeCode {
Show 50 variants
Unknown = 0,
AcctInterimInterval = 85,
AccountingRealtimeRequired = 483,
AcctMultiSessionId = 50,
AccountingRecordNumber = 485,
AccountingRecordType = 480,
AcctSessionId = 44,
AccountingSubSessionId = 287,
AcctApplicationId = 259,
AuthApplicationId = 258,
AuthRequestType = 274,
AuthorizationLifetime = 291,
AuthGracePeriod = 276,
AuthSessionState = 277,
ReAuthRequestType = 285,
Class = 25,
DestinationHost = 293,
DestinationRealm = 235,
DisconnectCause = 273,
ErrorMessage = 281,
ErrorReportingHost = 294,
EventTimestamp = 55,
ExperimentalResult = 297,
ExperimentalResultCode = 298,
FailedAVP = 279,
FirmwareRevision = 267,
HostIPAddress = 257,
InbandSecurityId = 299,
MultiRoundTimeOut = 272,
OriginHost = 264,
OriginRealm = 296,
OriginStateId = 278,
ProductName = 269,
ProxyHost = 280,
ProxyInfo = 284,
ProxyState = 33,
RedirectHost = 292,
RedirectHostUsage = 261,
RedirectMaxCacheTime = 262,
ResultCode = 268,
RouteRecord = 282,
SessionId = 263,
SessionTimeout = 27,
SessionBinding = 270,
SessionServerFailover = 271,
SupportedVendorId = 265,
TerminationCause = 295,
UserName = 1,
VendorId = 266,
VendorSpecificApplicationId = 260,
}Expand description
AVP Attribute Names as stated in the protocol reference
Variants§
Unknown = 0
AcctInterimInterval = 85
AccountingRealtimeRequired = 483
AcctMultiSessionId = 50
AccountingRecordNumber = 485
AccountingRecordType = 480
AcctSessionId = 44
AccountingSubSessionId = 287
AcctApplicationId = 259
AuthApplicationId = 258
AuthRequestType = 274
AuthorizationLifetime = 291
AuthGracePeriod = 276
AuthSessionState = 277
ReAuthRequestType = 285
Class = 25
DestinationHost = 293
DestinationRealm = 235
DisconnectCause = 273
ErrorMessage = 281
ErrorReportingHost = 294
EventTimestamp = 55
ExperimentalResult = 297
ExperimentalResultCode = 298
FailedAVP = 279
FirmwareRevision = 267
HostIPAddress = 257
InbandSecurityId = 299
MultiRoundTimeOut = 272
OriginHost = 264
OriginRealm = 296
OriginStateId = 278
ProductName = 269
ProxyHost = 280
ProxyInfo = 284
ProxyState = 33
RedirectHost = 292
RedirectHostUsage = 261
RedirectMaxCacheTime = 262
ResultCode = 268
RouteRecord = 282
SessionId = 263
SessionTimeout = 27
SessionBinding = 270
SessionServerFailover = 271
SupportedVendorId = 265
TerminationCause = 295
UserName = 1
VendorId = 266
VendorSpecificApplicationId = 260
Trait Implementations§
Source§impl Debug for AttributeCode
impl Debug for AttributeCode
Source§impl PartialEq for AttributeCode
impl PartialEq for AttributeCode
Source§impl TryFrom<u32> for AttributeCode
impl TryFrom<u32> for AttributeCode
Source§type Error = TryFromPrimitiveError<AttributeCode>
type Error = TryFromPrimitiveError<AttributeCode>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for AttributeCode
impl TryFromPrimitive for AttributeCode
impl Eq for AttributeCode
impl StructuralPartialEq for AttributeCode
Auto Trait Implementations§
impl Freeze for AttributeCode
impl RefUnwindSafe for AttributeCode
impl Send for AttributeCode
impl Sync for AttributeCode
impl Unpin for AttributeCode
impl UnwindSafe for AttributeCode
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