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§impl Serialize for AuthResponseOk
impl Serialize for AuthResponseOk
impl StructuralPartialEq for AuthResponseOk
Auto Trait Implementations§
impl Freeze for AuthResponseOk
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