pub struct ListMyTenantsResponseMembership {
pub tenant_id: String,
pub user_id: String,
pub name: String,
pub slug: Option<String>,
pub plan: Option<String>,
pub logo_url: Option<String>,
pub role: String,
pub is_sole_owner: bool,
pub member_count: i64,
pub joined_at: Option<String>,
pub accessible: bool,
}Expand description
ListMyTenantsResponseMembership model.
Fields§
§tenant_id: String§user_id: String§name: String§slug: Option<String>§plan: Option<String>§logo_url: Option<String>§role: String§is_sole_owner: bool§member_count: i64§joined_at: Option<String>§accessible: boolWhether THIS credential can act in this tenant — its own tenant, or one an X-Active-Tenant
override would be accepted for. The list is the PERSON’s memberships and a credential may
reach fewer of them: an api-key whose user has no record in the key’s own tenant is refused
everywhere but home. Without this field a client had to guess by matching /me.tenant.slug
against the list. Describes the header only — POST /me/tenants/switch refuses every
api-key regardless.
Trait Implementations§
Source§impl Clone for ListMyTenantsResponseMembership
impl Clone for ListMyTenantsResponseMembership
Source§fn clone(&self) -> ListMyTenantsResponseMembership
fn clone(&self) -> ListMyTenantsResponseMembership
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ListMyTenantsResponseMembership
impl Default for ListMyTenantsResponseMembership
Source§fn default() -> ListMyTenantsResponseMembership
fn default() -> ListMyTenantsResponseMembership
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListMyTenantsResponseMembership
impl<'de> Deserialize<'de> for ListMyTenantsResponseMembership
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ListMyTenantsResponseMembership
Auto Trait Implementations§
impl Freeze for ListMyTenantsResponseMembership
impl RefUnwindSafe for ListMyTenantsResponseMembership
impl Send for ListMyTenantsResponseMembership
impl Sync for ListMyTenantsResponseMembership
impl Unpin for ListMyTenantsResponseMembership
impl UnsafeUnpin for ListMyTenantsResponseMembership
impl UnwindSafe for ListMyTenantsResponseMembership
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