pub struct OrganizationSettings {
pub object: Object,
pub enabled: bool,
pub max_allowed_memberships: i64,
pub max_allowed_roles: Option<i64>,
pub max_allowed_permissions: Option<i64>,
pub creator_role: String,
pub admin_delete_enabled: bool,
pub domains_enabled: bool,
pub domains_enrollment_modes: Vec<DomainsEnrollmentModes>,
pub domains_default_role: String,
}Fields§
§object: ObjectString representing the object’s type. Objects of the same type share the same value.
enabled: bool§max_allowed_memberships: i64§max_allowed_roles: Option<i64>§max_allowed_permissions: Option<i64>§creator_role: StringThe role key that a user will be assigned after creating an organization.
admin_delete_enabled: boolThe default for whether an admin can delete an organization with the Frontend API.
domains_enabled: bool§domains_enrollment_modes: Vec<DomainsEnrollmentModes>§domains_default_role: StringThe role key that it will be used in order to create an organization invitation or suggestion.
Implementations§
Trait Implementations§
Source§impl Clone for OrganizationSettings
impl Clone for OrganizationSettings
Source§fn clone(&self) -> OrganizationSettings
fn clone(&self) -> OrganizationSettings
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 OrganizationSettings
impl Debug for OrganizationSettings
Source§impl<'de> Deserialize<'de> for OrganizationSettings
impl<'de> Deserialize<'de> for OrganizationSettings
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 OrganizationSettings
impl PartialEq for OrganizationSettings
Source§impl Serialize for OrganizationSettings
impl Serialize for OrganizationSettings
impl StructuralPartialEq for OrganizationSettings
Auto Trait Implementations§
impl Freeze for OrganizationSettings
impl RefUnwindSafe for OrganizationSettings
impl Send for OrganizationSettings
impl Sync for OrganizationSettings
impl Unpin for OrganizationSettings
impl UnwindSafe for OrganizationSettings
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