pub struct TenantResolution {
pub client_id_tenant: Option<String>,
pub admin_override_tenant: Option<String>,
pub default_tenant: Option<String>,
}Expand description
Tenant resolution with priority support
Fields§
§client_id_tenant: Option<String>Tenant resolved from client_id
admin_override_tenant: Option<String>Admin override header value
default_tenant: Option<String>Default tenant fallback
Implementations§
Trait Implementations§
Source§impl Clone for TenantResolution
impl Clone for TenantResolution
Source§fn clone(&self) -> TenantResolution
fn clone(&self) -> TenantResolution
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 TenantResolution
impl Debug for TenantResolution
Source§impl Default for TenantResolution
impl Default for TenantResolution
Source§fn default() -> TenantResolution
fn default() -> TenantResolution
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TenantResolution
impl RefUnwindSafe for TenantResolution
impl Send for TenantResolution
impl Sync for TenantResolution
impl Unpin for TenantResolution
impl UnwindSafe for TenantResolution
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