pub struct GetOrganizationCreditResponse {
pub balance_cents: i64,
pub currency: String,
}Fields§
§balance_cents: i64Credit left to offset the organization’s next invoices, in cents: on credit notes, and in its wallet, granted to it or purchased. Zero when none is left.
currency: StringISO currency code.
Implementations§
Source§impl GetOrganizationCreditResponse
impl GetOrganizationCreditResponse
pub fn serialize<__S>(
__self: &GetOrganizationCreditResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> GetOrganizationCreditResponse
impl<'de> GetOrganizationCreditResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetOrganizationCreditResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOrganizationCreditResponse
impl<'de> Deserialize<'de> for GetOrganizationCreditResponse
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 GetOrganizationCreditResponse
impl RefUnwindSafe for GetOrganizationCreditResponse
impl Send for GetOrganizationCreditResponse
impl Sync for GetOrganizationCreditResponse
impl Unpin for GetOrganizationCreditResponse
impl UnsafeUnpin for GetOrganizationCreditResponse
impl UnwindSafe for GetOrganizationCreditResponse
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