pub struct CreateClientOrganizationRequestBody {
pub name: String,
pub owner_email: String,
pub plan_type: Option<PlanType>,
pub seats: Option<i32>,
pub key: String,
pub key_pair: Box<KeyPairRequestBody>,
pub collection_name: String,
}
Fields§
§name: String
§owner_email: String
§plan_type: Option<PlanType>
§seats: Option<i32>
§key: String
§key_pair: Box<KeyPairRequestBody>
§collection_name: String
Implementations§
Source§impl CreateClientOrganizationRequestBody
impl CreateClientOrganizationRequestBody
pub fn new( name: String, owner_email: String, key: String, key_pair: KeyPairRequestBody, collection_name: String, ) -> CreateClientOrganizationRequestBody
Trait Implementations§
Source§impl Clone for CreateClientOrganizationRequestBody
impl Clone for CreateClientOrganizationRequestBody
Source§fn clone(&self) -> CreateClientOrganizationRequestBody
fn clone(&self) -> CreateClientOrganizationRequestBody
Returns a copy 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 Default for CreateClientOrganizationRequestBody
impl Default for CreateClientOrganizationRequestBody
Source§fn default() -> CreateClientOrganizationRequestBody
fn default() -> CreateClientOrganizationRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateClientOrganizationRequestBody
impl<'de> Deserialize<'de> for CreateClientOrganizationRequestBody
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 CreateClientOrganizationRequestBody
impl PartialEq for CreateClientOrganizationRequestBody
Source§fn eq(&self, other: &CreateClientOrganizationRequestBody) -> bool
fn eq(&self, other: &CreateClientOrganizationRequestBody) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateClientOrganizationRequestBody
Auto Trait Implementations§
impl Freeze for CreateClientOrganizationRequestBody
impl RefUnwindSafe for CreateClientOrganizationRequestBody
impl Send for CreateClientOrganizationRequestBody
impl Sync for CreateClientOrganizationRequestBody
impl Unpin for CreateClientOrganizationRequestBody
impl UnwindSafe for CreateClientOrganizationRequestBody
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