[][src]Struct kerbeiros::messages::AsReq

pub struct AsReq {
    pub pvno: i8,
    pub msg_type: i8,
    pub padata: Option<SeqOfPaData>,
    pub req_body: KdcReqBody,
}

(AS-REQ) Message used to request a TGT.

Fields

pvno: i8msg_type: i8padata: Option<SeqOfPaData>req_body: KdcReqBody

Methods

impl AsReq[src]

pub fn new(realm: KerberosString, username: KerberosString) -> AsReq[src]

pub fn include_pac(&mut self)[src]

pub fn set_encrypted_timestamp(&mut self, etype: i32, encrypted: Vec<u8>)[src]

pub fn set_kdc_options(&mut self, options: u32)[src]

pub fn set_default_rtime(&mut self)[src]

pub fn set_rtime(&mut self, date: DateTime<Utc>)[src]

pub fn push_etype(&mut self, etype: i32)[src]

pub fn build(self) -> Vec<u8>[src]

Trait Implementations

impl Clone for AsReq[src]

impl Debug for AsReq[src]

impl PartialEq<AsReq> for AsReq[src]

impl StructuralPartialEq for AsReq[src]

Auto Trait Implementations

impl RefUnwindSafe for AsReq

impl Send for AsReq

impl Sync for AsReq

impl Unpin for AsReq

impl UnwindSafe for AsReq

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.