pub struct OrganizationOptionsBuilder { /* private fields */ }Implementations§
Source§impl OrganizationOptionsBuilder
impl OrganizationOptionsBuilder
pub fn allow_user_to_create_organization(self, allow: bool) -> Self
pub fn organization_limit(self, limit: usize) -> Self
pub fn creator_role(self, role: impl Into<String>) -> Self
pub fn membership_limit(self, limit: usize) -> Self
pub fn invitation_expires_in(self, seconds: i64) -> Self
pub fn invitation_limit(self, limit: usize) -> Self
pub fn cancel_pending_invitations_on_re_invite(self, cancel: bool) -> Self
pub fn require_email_verification_on_invitation(self, require: bool) -> Self
pub fn disable_organization_deletion(self, disable: bool) -> Self
pub fn hooks(self, hooks: OrganizationHooks) -> Self
pub fn send_invitation_email(self, hook: SendInvitationEmailHook) -> Self
pub fn teams(self, teams: TeamOptions) -> Self
pub fn dynamic_access_control( self, options: DynamicAccessControlOptions, ) -> Self
pub fn custom_role(self, role: impl Into<String>, permissions: Value) -> Self
pub fn schema(self, schema: OrganizationSchemaOptions) -> Self
pub fn build(self) -> OrganizationOptions
Trait Implementations§
Source§impl Clone for OrganizationOptionsBuilder
impl Clone for OrganizationOptionsBuilder
Source§fn clone(&self) -> OrganizationOptionsBuilder
fn clone(&self) -> OrganizationOptionsBuilder
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 OrganizationOptionsBuilder
impl Default for OrganizationOptionsBuilder
Source§fn default() -> OrganizationOptionsBuilder
fn default() -> OrganizationOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OrganizationOptionsBuilder
impl !RefUnwindSafe for OrganizationOptionsBuilder
impl Send for OrganizationOptionsBuilder
impl Sync for OrganizationOptionsBuilder
impl Unpin for OrganizationOptionsBuilder
impl UnsafeUnpin for OrganizationOptionsBuilder
impl !UnwindSafe for OrganizationOptionsBuilder
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