Struct extrahop::Username
[−]
[src]
pub struct Username(_);
Canonical ID for an appliance user.
Methods
impl Username
[src]
fn new<IS: Into<String>>(name: IS) -> Self
[src]
Creates and canonicalizes a username.
fn as_str(&self) -> &str
[src]
Gets the username as a JSON-suitable string.
Trait Implementations
impl Debug for Username
[src]
impl Clone for Username
[src]
fn clone(&self) -> Username
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Username
[src]
fn eq(&self, __arg_0: &Username) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Username) -> bool
[src]
This method tests for !=
.