Struct pam_sys::types::PamMessage [] [src]

pub struct PamMessage {
    pub msg_style: c_int,
    pub msg: *const c_char,
}

Message struct to transfer authentication data to the user

From _pam_types.h:

"Used to pass prompting text, error messages, or other informatory text to the user. This structure is allocated and freed by the PAM library (or loaded module)."

Fields

msg_style: c_int msg: *const c_char

Trait Implementations

impl Debug for PamMessage
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.