[][src]Struct chirpstack_api::as_pb::external::api::User

pub struct User {
    pub id: i64,
    pub username: String,
    pub session_ttl: i32,
    pub is_admin: bool,
    pub is_active: bool,
    pub email: String,
    pub note: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

id: i64username: Stringsession_ttl: i32is_admin: boolis_active: boolemail: Stringnote: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Methods

impl User[src]

pub fn new() -> User[src]

pub fn get_id(&self) -> i64[src]

pub fn clear_id(&mut self)[src]

pub fn set_id(&mut self, v: i64)[src]

pub fn get_username(&self) -> &str[src]

pub fn clear_username(&mut self)[src]

pub fn set_username(&mut self, v: String)[src]

pub fn mut_username(&mut self) -> &mut String[src]

pub fn take_username(&mut self) -> String[src]

pub fn get_session_ttl(&self) -> i32[src]

pub fn clear_session_ttl(&mut self)[src]

pub fn set_session_ttl(&mut self, v: i32)[src]

pub fn get_is_admin(&self) -> bool[src]

pub fn clear_is_admin(&mut self)[src]

pub fn set_is_admin(&mut self, v: bool)[src]

pub fn get_is_active(&self) -> bool[src]

pub fn clear_is_active(&mut self)[src]

pub fn set_is_active(&mut self, v: bool)[src]

pub fn get_email(&self) -> &str[src]

pub fn clear_email(&mut self)[src]

pub fn set_email(&mut self, v: String)[src]

pub fn mut_email(&mut self) -> &mut String[src]

pub fn take_email(&mut self) -> String[src]

pub fn get_note(&self) -> &str[src]

pub fn clear_note(&mut self)[src]

pub fn set_note(&mut self, v: String)[src]

pub fn mut_note(&mut self) -> &mut String[src]

pub fn take_note(&mut self) -> String[src]

Trait Implementations

impl Clear for User[src]

impl Clone for User[src]

impl Debug for User[src]

impl Default for User[src]

impl<'a> Default for &'a User[src]

impl Message for User[src]

impl PartialEq<User> for User[src]

impl ProtobufValue for User[src]

impl StructuralPartialEq for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

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> 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.