Struct flep_protocol::command::security::AUTH
[−]
[src]
pub struct AUTH {
pub auth_type: String,
}Fields
auth_type: String
Trait Implementations
impl Clone for AUTH[src]
fn clone(&self) -> AUTH
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for AUTH[src]
impl PartialEq for AUTH[src]
fn eq(&self, __arg_0: &AUTH) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AUTH) -> bool
This method tests for !=.
impl Eq for AUTH[src]
impl Command for AUTH[src]
fn write_payload(&self, write: &mut Write) -> Result<(), Error>
Writes the payload data.
fn read_payload(read: &mut BufRead) -> Result<Self, Error>
Reads payload data.
fn command_name(&self) -> &'static str
Gets the name of the command.
fn write(&self, write: &mut Write) -> Result<(), Error>
Writes the command to a buffer.
fn bytes(&self) -> Vec<u8>
fn to_string(&self) -> String
Generates the text string for this packet.