#[non_exhaustive]pub struct WorkspaceConfig {
pub type: Type,
pub dasher_customer_id: String,
pub super_admin_service_account: String,
pub super_admin_email_address: String,
/* private fields */
}Available on crate feature
data-store-service only.Expand description
Config to store data store type configuration for workspace data
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type: TypeThe Google Workspace data source.
dasher_customer_id: StringObfuscated Dasher customer ID.
super_admin_service_account: StringOptional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
super_admin_email_address: StringOptional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion.
Implementations§
Source§impl WorkspaceConfig
impl WorkspaceConfig
pub fn new() -> Self
Sourcepub fn set_dasher_customer_id<T: Into<String>>(self, v: T) -> Self
pub fn set_dasher_customer_id<T: Into<String>>(self, v: T) -> Self
Sets the value of dasher_customer_id.
§Example
ⓘ
let x = WorkspaceConfig::new().set_dasher_customer_id("example");Sourcepub fn set_super_admin_service_account<T: Into<String>>(self, v: T) -> Self
pub fn set_super_admin_service_account<T: Into<String>>(self, v: T) -> Self
Sets the value of super_admin_service_account.
§Example
ⓘ
let x = WorkspaceConfig::new().set_super_admin_service_account("example");Sourcepub fn set_super_admin_email_address<T: Into<String>>(self, v: T) -> Self
pub fn set_super_admin_email_address<T: Into<String>>(self, v: T) -> Self
Sets the value of super_admin_email_address.
§Example
ⓘ
let x = WorkspaceConfig::new().set_super_admin_email_address("example");Trait Implementations§
Source§impl Clone for WorkspaceConfig
impl Clone for WorkspaceConfig
Source§fn clone(&self) -> WorkspaceConfig
fn clone(&self) -> WorkspaceConfig
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 WorkspaceConfig
impl Debug for WorkspaceConfig
Source§impl Default for WorkspaceConfig
impl Default for WorkspaceConfig
Source§fn default() -> WorkspaceConfig
fn default() -> WorkspaceConfig
Returns the “default value” for a type. Read more
Source§impl Message for WorkspaceConfig
impl Message for WorkspaceConfig
Source§impl PartialEq for WorkspaceConfig
impl PartialEq for WorkspaceConfig
impl StructuralPartialEq for WorkspaceConfig
Auto Trait Implementations§
impl Freeze for WorkspaceConfig
impl RefUnwindSafe for WorkspaceConfig
impl Send for WorkspaceConfig
impl Sync for WorkspaceConfig
impl Unpin for WorkspaceConfig
impl UnwindSafe for WorkspaceConfig
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