pub struct ChargesData {
pub id: String,
pub unit: String,
pub amount: String,
pub created_at: Option<DateTime<Utc>>,
pub internal_id: String,
pub callback_url: String,
pub description: String,
pub expires_at: Option<DateTime<Utc>>,
pub confirmed_at: Option<DateTime<Utc>>,
pub status: String,
pub invoice: Option<InvoiceData>,
}
Fields§
§id: String
§unit: String
§amount: String
§created_at: Option<DateTime<Utc>>
§internal_id: String
§callback_url: String
§description: String
§expires_at: Option<DateTime<Utc>>
§confirmed_at: Option<DateTime<Utc>>
§status: String
§invoice: Option<InvoiceData>
Trait Implementations§
Source§impl Debug for ChargesData
impl Debug for ChargesData
Source§impl Default for ChargesData
impl Default for ChargesData
Source§fn default() -> ChargesData
fn default() -> ChargesData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChargesData
impl<'de> Deserialize<'de> for ChargesData
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
Auto Trait Implementations§
impl Freeze for ChargesData
impl RefUnwindSafe for ChargesData
impl Send for ChargesData
impl Sync for ChargesData
impl Unpin for ChargesData
impl UnwindSafe for ChargesData
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