pub struct CreateOrganizationReqPayload {
pub name: String,
}Fields§
§name: StringThe arbitrary name which will be used to identify the organization. This name must be unique.
Implementations§
Source§impl CreateOrganizationReqPayload
impl CreateOrganizationReqPayload
pub fn new(name: String) -> CreateOrganizationReqPayload
Trait Implementations§
Source§impl Clone for CreateOrganizationReqPayload
impl Clone for CreateOrganizationReqPayload
Source§fn clone(&self) -> CreateOrganizationReqPayload
fn clone(&self) -> CreateOrganizationReqPayload
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 CreateOrganizationReqPayload
impl Debug for CreateOrganizationReqPayload
Source§impl Default for CreateOrganizationReqPayload
impl Default for CreateOrganizationReqPayload
Source§fn default() -> CreateOrganizationReqPayload
fn default() -> CreateOrganizationReqPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateOrganizationReqPayload
impl<'de> Deserialize<'de> for CreateOrganizationReqPayload
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 CreateOrganizationReqPayload
impl PartialEq for CreateOrganizationReqPayload
Source§fn eq(&self, other: &CreateOrganizationReqPayload) -> bool
fn eq(&self, other: &CreateOrganizationReqPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateOrganizationReqPayload
Auto Trait Implementations§
impl Freeze for CreateOrganizationReqPayload
impl RefUnwindSafe for CreateOrganizationReqPayload
impl Send for CreateOrganizationReqPayload
impl Sync for CreateOrganizationReqPayload
impl Unpin for CreateOrganizationReqPayload
impl UnwindSafe for CreateOrganizationReqPayload
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