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