pub struct Redeem {Show 14 fields
pub cancelled_at: Option<DateTime<FixedOffset>>,
pub completed_at: Option<DateTime<FixedOffset>>,
pub contact_id: Option<i64>,
pub created_at: Option<DateTime<FixedOffset>>,
pub debit_transaction_id: Option<String>,
pub expires_at: Option<DateTime<FixedOffset>>,
pub id: Option<String>,
pub loyalty_program_id: Option<String>,
pub meta: Option<HashMap<String, Value>>,
pub reject_reason: Option<String>,
pub rejected_at: Option<DateTime<FixedOffset>>,
pub reward_attribution_id: Option<String>,
pub status: Option<String>,
pub updated_at: Option<DateTime<FixedOffset>>,
}Fields§
§cancelled_at: Option<DateTime<FixedOffset>>Timestamp when the redemption was cancelled
completed_at: Option<DateTime<FixedOffset>>Timestamp when the redemption was completed
contact_id: Option<i64>Unique identifier for the contact
created_at: Option<DateTime<FixedOffset>>Timestamp when the redemption was created
debit_transaction_id: Option<String>Unique identifier for the debit transaction
expires_at: Option<DateTime<FixedOffset>>Timestamp when the redemption expires
id: Option<String>Unique identifier for the redemption
loyalty_program_id: Option<String>Unique identifier for the loyalty program
meta: Option<HashMap<String, Value>>Additional metadata associated with the redemption
reject_reason: Option<String>Reason for rejection if the redemption was rejected
rejected_at: Option<DateTime<FixedOffset>>Timestamp when the redemption was rejected
reward_attribution_id: Option<String>Unique identifier for the reward attribution
status: Option<String>Current status of the redemption
updated_at: Option<DateTime<FixedOffset>>Timestamp when the redemption was last updated
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Redeem
impl<'de> Deserialize<'de> for Redeem
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
impl StructuralPartialEq for Redeem
Auto Trait Implementations§
impl Forget for Redeem
impl Freeze for Redeem
impl Move for Redeem
impl RefUnwindSafe for Redeem
impl Send for Redeem
impl Sync for Redeem
impl Unpin for Redeem
impl UnsafeUnpin for Redeem
impl UnwindSafe for Redeem
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