pub enum TeamSelect {
User(String),
Admin(String),
}
Expand description
Used with Team Authentication to select a user context within that team.
Variants§
User(String)
A team member’s user ID.
Admin(String)
A team admin’s user ID, which grants additional access.
Implementations§
Source§impl TeamSelect
impl TeamSelect
Sourcepub fn header_name(&self) -> &'static str
pub fn header_name(&self) -> &'static str
The name of the HTTP header that must be set.
Trait Implementations§
Source§impl Clone for TeamSelect
impl Clone for TeamSelect
Source§fn clone(&self) -> TeamSelect
fn clone(&self) -> TeamSelect
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for TeamSelect
impl RefUnwindSafe for TeamSelect
impl Send for TeamSelect
impl Sync for TeamSelect
impl Unpin for TeamSelect
impl UnwindSafe for TeamSelect
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