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