pub struct ManagedTenant {
pub env: String,
pub id: Uuid,
pub name: String,
pub db_name: String,
pub db_secret_name: Option<String>,
pub db_iam_user_name: Option<String>,
pub s3_name: String,
pub os_index_name: String,
pub event_queue_url: Option<String>,
}Fields§
§env: StringEnvironment for the tenant
id: UuidUnique ID for the tenant
name: StringName for the tenant
db_name: StringName of the tenant database
db_secret_name: Option<String>Name for the AWS secret used for the database user if using secret based authentication
db_iam_user_name: Option<String>Name for the database user username if using IAM based authentication
s3_name: StringName of the tenant s3 bucket
os_index_name: StringName of the tenant search index
event_queue_url: Option<String>Optional event queue (SQS) to send docbox events to
Trait Implementations§
Source§impl Clone for ManagedTenant
impl Clone for ManagedTenant
Source§fn clone(&self) -> ManagedTenant
fn clone(&self) -> ManagedTenant
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 Debug for ManagedTenant
impl Debug for ManagedTenant
Source§impl<'de> Deserialize<'de> for ManagedTenant
impl<'de> Deserialize<'de> for ManagedTenant
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 Eq for ManagedTenant
Source§impl PartialEq for ManagedTenant
impl PartialEq for ManagedTenant
Source§impl Serialize for ManagedTenant
impl Serialize for ManagedTenant
impl StructuralPartialEq for ManagedTenant
Auto Trait Implementations§
impl Freeze for ManagedTenant
impl RefUnwindSafe for ManagedTenant
impl Send for ManagedTenant
impl Sync for ManagedTenant
impl Unpin for ManagedTenant
impl UnsafeUnpin for ManagedTenant
impl UnwindSafe for ManagedTenant
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