Expand description
InvoiceResponse : The response schema for the sendInvoice operation.
Fields
errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations
sourceimpl InvoiceResponse
impl InvoiceResponse
sourcepub fn new() -> InvoiceResponse
pub fn new() -> InvoiceResponse
The response schema for the sendInvoice operation.
Trait Implementations
sourceimpl Clone for InvoiceResponse
impl Clone for InvoiceResponse
sourcefn clone(&self) -> InvoiceResponse
fn clone(&self) -> InvoiceResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InvoiceResponse
impl Debug for InvoiceResponse
sourceimpl Default for InvoiceResponse
impl Default for InvoiceResponse
sourcefn default() -> InvoiceResponse
fn default() -> InvoiceResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InvoiceResponse
impl<'de> Deserialize<'de> for InvoiceResponse
sourcefn 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
sourceimpl PartialEq<InvoiceResponse> for InvoiceResponse
impl PartialEq<InvoiceResponse> for InvoiceResponse
sourcefn eq(&self, other: &InvoiceResponse) -> bool
fn eq(&self, other: &InvoiceResponse) -> bool
sourceimpl Serialize for InvoiceResponse
impl Serialize for InvoiceResponse
impl StructuralPartialEq for InvoiceResponse
Auto Trait Implementations
impl RefUnwindSafe for InvoiceResponse
impl Send for InvoiceResponse
impl Sync for InvoiceResponse
impl Unpin for InvoiceResponse
impl UnwindSafe for InvoiceResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more