pub struct PledgeAttributes {
pub amount_cents: i64,
pub created_at: DateTime<Utc>,
pub currency: String,
pub declined_since: Option<DateTime<Utc>>,
pub patron_pays_fees: bool,
pub pledge_cap_cents: i64,
}
Fields§
§amount_cents: i64
§created_at: DateTime<Utc>
§currency: String
§declined_since: Option<DateTime<Utc>>
§patron_pays_fees: bool
§pledge_cap_cents: i64
Trait Implementations§
Source§impl Clone for PledgeAttributes
impl Clone for PledgeAttributes
Source§fn clone(&self) -> PledgeAttributes
fn clone(&self) -> PledgeAttributes
Returns a duplicate 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 Debug for PledgeAttributes
impl Debug for PledgeAttributes
Source§impl Default for PledgeAttributes
impl Default for PledgeAttributes
Source§fn default() -> PledgeAttributes
fn default() -> PledgeAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PledgeAttributes
impl<'de> Deserialize<'de> for PledgeAttributes
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 PledgeAttributes
impl PartialEq for PledgeAttributes
Source§impl Serialize for PledgeAttributes
impl Serialize for PledgeAttributes
impl StructuralPartialEq for PledgeAttributes
Auto Trait Implementations§
impl Freeze for PledgeAttributes
impl RefUnwindSafe for PledgeAttributes
impl Send for PledgeAttributes
impl Sync for PledgeAttributes
impl Unpin for PledgeAttributes
impl UnwindSafe for PledgeAttributes
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