Enum dropbox_sdk::client_trait::TeamSelect
source · 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 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 moreAuto Trait Implementations§
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