pub struct UpdateOrganizationReqPayload {
pub name: Option<Option<String>>,
pub organization_id: Uuid,
}Fields§
§name: Option<Option<String>>The new name of the organization. If not provided, the name will not be updated.
organization_id: UuidThe id of the organization to update.
Implementations§
Source§impl UpdateOrganizationReqPayload
impl UpdateOrganizationReqPayload
pub fn new(organization_id: Uuid) -> UpdateOrganizationReqPayload
Trait Implementations§
Source§impl Clone for UpdateOrganizationReqPayload
impl Clone for UpdateOrganizationReqPayload
Source§fn clone(&self) -> UpdateOrganizationReqPayload
fn clone(&self) -> UpdateOrganizationReqPayload
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 UpdateOrganizationReqPayload
impl Debug for UpdateOrganizationReqPayload
Source§impl Default for UpdateOrganizationReqPayload
impl Default for UpdateOrganizationReqPayload
Source§fn default() -> UpdateOrganizationReqPayload
fn default() -> UpdateOrganizationReqPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateOrganizationReqPayload
impl<'de> Deserialize<'de> for UpdateOrganizationReqPayload
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 UpdateOrganizationReqPayload
impl PartialEq for UpdateOrganizationReqPayload
Source§fn eq(&self, other: &UpdateOrganizationReqPayload) -> bool
fn eq(&self, other: &UpdateOrganizationReqPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateOrganizationReqPayload
Auto Trait Implementations§
impl Freeze for UpdateOrganizationReqPayload
impl RefUnwindSafe for UpdateOrganizationReqPayload
impl Send for UpdateOrganizationReqPayload
impl Sync for UpdateOrganizationReqPayload
impl Unpin for UpdateOrganizationReqPayload
impl UnwindSafe for UpdateOrganizationReqPayload
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