pub struct UpdateOrganizationRequest {
pub public_metadata: Option<Value>,
pub private_metadata: Option<Value>,
pub name: Option<Option<String>>,
pub slug: Option<Option<String>>,
pub max_allowed_memberships: Option<Option<i64>>,
pub admin_delete_enabled: Option<Option<bool>>,
}Fields§
§public_metadata: Option<Value>Metadata saved on the organization, that is visible to both your frontend and backend.
private_metadata: Option<Value>Metadata saved on the organization that is only visible to your backend.
name: Option<Option<String>>The new name of the organization
slug: Option<Option<String>>The new slug of the organization, which needs to be unique in the instance
max_allowed_memberships: Option<Option<i64>>The maximum number of memberships allowed for this organization
admin_delete_enabled: Option<Option<bool>>If true, an admin can delete this organization with the Frontend API.
Implementations§
Source§impl UpdateOrganizationRequest
impl UpdateOrganizationRequest
pub fn new() -> UpdateOrganizationRequest
Trait Implementations§
Source§impl Clone for UpdateOrganizationRequest
impl Clone for UpdateOrganizationRequest
Source§fn clone(&self) -> UpdateOrganizationRequest
fn clone(&self) -> UpdateOrganizationRequest
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 UpdateOrganizationRequest
impl Debug for UpdateOrganizationRequest
Source§impl<'de> Deserialize<'de> for UpdateOrganizationRequest
impl<'de> Deserialize<'de> for UpdateOrganizationRequest
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 StructuralPartialEq for UpdateOrganizationRequest
Auto Trait Implementations§
impl Freeze for UpdateOrganizationRequest
impl RefUnwindSafe for UpdateOrganizationRequest
impl Send for UpdateOrganizationRequest
impl Sync for UpdateOrganizationRequest
impl Unpin for UpdateOrganizationRequest
impl UnwindSafe for UpdateOrganizationRequest
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