pub struct AuthResponseOk {
pub token: String,
pub perm: AuthPermissions,
pub trace_ids: HashSet<Uuid>,
pub login: String,
}
Expand description
Ответ на запрос на регистрацию
Fields§
§token: String
Сгенерированный токен
perm: AuthPermissions
Разрешения
trace_ids: HashSet<Uuid>
Идентификаторы компонентов, через которые сообщение было получено
login: String
Trait Implementations§
source§impl Clone for AuthResponseOk
impl Clone for AuthResponseOk
source§fn clone(&self) -> AuthResponseOk
fn clone(&self) -> AuthResponseOk
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AuthResponseOk
impl Debug for AuthResponseOk
source§impl<'de> Deserialize<'de> for AuthResponseOk
impl<'de> Deserialize<'de> for AuthResponseOk
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AuthResponseOk
impl PartialEq for AuthResponseOk
source§fn eq(&self, other: &AuthResponseOk) -> bool
fn eq(&self, other: &AuthResponseOk) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AuthResponseOk
impl Serialize for AuthResponseOk
impl StructuralPartialEq for AuthResponseOk
Auto Trait Implementations§
impl RefUnwindSafe for AuthResponseOk
impl Send for AuthResponseOk
impl Sync for AuthResponseOk
impl Unpin for AuthResponseOk
impl UnwindSafe for AuthResponseOk
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more