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