Enum SqlIngressAuth
pub enum SqlIngressAuth {
Disabled,
Unauthenticated,
Bearer(String),
}Expand description
Authentication posture for the versioned public SQL surface.
Variants§
Disabled
A non-loopback listener with no public SQL credential.
Unauthenticated
A loopback development listener with no public SQL credential.
Bearer(String)
The dedicated public SQL bearer credential.
Implementations§
§impl SqlIngressAuth
impl SqlIngressAuth
pub fn from_config(token: Option<String>, loopback: bool) -> SqlIngressAuth
Trait Implementations§
§impl Clone for SqlIngressAuth
impl Clone for SqlIngressAuth
§fn clone(&self) -> SqlIngressAuth
fn clone(&self) -> SqlIngressAuth
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 more§impl Debug for SqlIngressAuth
impl Debug for SqlIngressAuth
§impl PartialEq for SqlIngressAuth
impl PartialEq for SqlIngressAuth
impl Eq for SqlIngressAuth
impl StructuralPartialEq for SqlIngressAuth
Auto Trait Implementations§
impl Freeze for SqlIngressAuth
impl RefUnwindSafe for SqlIngressAuth
impl Send for SqlIngressAuth
impl Sync for SqlIngressAuth
impl Unpin for SqlIngressAuth
impl UnsafeUnpin for SqlIngressAuth
impl UnwindSafe for SqlIngressAuth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.