pub struct GetWhoamiQuery {
pub only_allow_authenticated: Option<bool>,
}Expand description
Query parameters for GET /whoami.
Fields§
§only_allow_authenticated: Option<bool>If set to true the route will return 401 Unauthorized if the user is not logged in.
Trait Implementations§
Source§impl Clone for GetWhoamiQuery
impl Clone for GetWhoamiQuery
Source§impl Debug for GetWhoamiQuery
impl Debug for GetWhoamiQuery
Auto Trait Implementations§
impl Freeze for GetWhoamiQuery
impl RefUnwindSafe for GetWhoamiQuery
impl Send for GetWhoamiQuery
impl Sync for GetWhoamiQuery
impl Unpin for GetWhoamiQuery
impl UnsafeUnpin for GetWhoamiQuery
impl UnwindSafe for GetWhoamiQuery
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