pub struct AuthConfigData {
pub auth_type: AuthScheme,
pub credentials: Value,
pub restrict_to_following_tools: Option<Vec<String>>,
}Expand description
Authentication configuration data
Fields§
§auth_type: AuthSchemeType of authentication scheme
credentials: ValueCredentials for the authentication (structure varies by auth_type)
restrict_to_following_tools: Option<Vec<String>>Optional list of tool slugs to restrict this auth config to
Trait Implementations§
Source§impl Clone for AuthConfigData
impl Clone for AuthConfigData
Source§fn clone(&self) -> AuthConfigData
fn clone(&self) -> AuthConfigData
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 moreSource§impl Debug for AuthConfigData
impl Debug for AuthConfigData
Auto Trait Implementations§
impl Freeze for AuthConfigData
impl RefUnwindSafe for AuthConfigData
impl Send for AuthConfigData
impl Sync for AuthConfigData
impl Unpin for AuthConfigData
impl UnsafeUnpin for AuthConfigData
impl UnwindSafe for AuthConfigData
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