pub struct ConsumeEntitlement {
pub user_id: u64,
pub uses: i32,
pub b_overuse: bool,
pub entitlement: Entitlement,
}Fields§
§user_id: u64§uses: i32§b_overuse: bool§entitlement: EntitlementTrait Implementations§
Source§impl Debug for ConsumeEntitlement
impl Debug for ConsumeEntitlement
Source§impl<'de> Deserialize<'de> for ConsumeEntitlement
impl<'de> Deserialize<'de> for ConsumeEntitlement
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 From<ConsumeEntitlement> for RequestBody
impl From<ConsumeEntitlement> for RequestBody
Source§fn from(val: ConsumeEntitlement) -> Self
fn from(val: ConsumeEntitlement) -> Self
Converts to this type from the input type.
Source§impl RequestResponse for ConsumeEntitlement
impl RequestResponse for ConsumeEntitlement
type Response = ConsumeEntitlementResponse
fn extract_response(body: ResponseBody) -> Result<Self::Response, SdkError>
Auto Trait Implementations§
impl Freeze for ConsumeEntitlement
impl RefUnwindSafe for ConsumeEntitlement
impl Send for ConsumeEntitlement
impl Sync for ConsumeEntitlement
impl Unpin for ConsumeEntitlement
impl UnwindSafe for ConsumeEntitlement
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