pub struct AutoInviteConfig {
pub enabled: Option<bool>,
pub domain: Option<String>,
pub operator: Option<bool>,
pub mode: Option<Mode>,
pub instance_groups: Option<Vec<String>>,
pub instance_groups_roles: Option<HashMap<String, String>>,
}Expand description
AutoInviteConfig : Configuration for auto-inviting users to the workspace
Fields§
§enabled: Option<bool>§domain: Option<String>§operator: Option<bool>If true, auto-invited users are added as operators. If false, they are added as developers.
mode: Option<Mode>§instance_groups: Option<Vec<String>>§instance_groups_roles: Option<HashMap<String, String>>Implementations§
Source§impl AutoInviteConfig
impl AutoInviteConfig
Sourcepub fn new() -> AutoInviteConfig
pub fn new() -> AutoInviteConfig
Configuration for auto-inviting users to the workspace
Trait Implementations§
Source§impl Clone for AutoInviteConfig
impl Clone for AutoInviteConfig
Source§fn clone(&self) -> AutoInviteConfig
fn clone(&self) -> AutoInviteConfig
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 AutoInviteConfig
impl Debug for AutoInviteConfig
Source§impl Default for AutoInviteConfig
impl Default for AutoInviteConfig
Source§fn default() -> AutoInviteConfig
fn default() -> AutoInviteConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoInviteConfig
impl<'de> Deserialize<'de> for AutoInviteConfig
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
Source§impl PartialEq for AutoInviteConfig
impl PartialEq for AutoInviteConfig
Source§impl Serialize for AutoInviteConfig
impl Serialize for AutoInviteConfig
impl StructuralPartialEq for AutoInviteConfig
Auto Trait Implementations§
impl Freeze for AutoInviteConfig
impl RefUnwindSafe for AutoInviteConfig
impl Send for AutoInviteConfig
impl Sync for AutoInviteConfig
impl Unpin for AutoInviteConfig
impl UnwindSafe for AutoInviteConfig
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