pub struct RetrieveTransactionResponse {
pub errors: Option<Vec<Error>>,
pub transaction: Option<Box<Transaction>>,
}Expand description
RetrieveTransactionResponse : Defines the fields that are included in the response body of a request to the RetrieveTransaction endpoint. One of errors or transaction is present in a given response (never both).
Fields§
§errors: Option<Vec<Error>>Any errors that occurred during the request.
transaction: Option<Box<Transaction>>Implementations§
Source§impl RetrieveTransactionResponse
impl RetrieveTransactionResponse
Sourcepub fn new() -> RetrieveTransactionResponse
pub fn new() -> RetrieveTransactionResponse
Defines the fields that are included in the response body of a request to the RetrieveTransaction endpoint. One of errors or transaction is present in a given response (never both).
Trait Implementations§
Source§impl Clone for RetrieveTransactionResponse
impl Clone for RetrieveTransactionResponse
Source§fn clone(&self) -> RetrieveTransactionResponse
fn clone(&self) -> RetrieveTransactionResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RetrieveTransactionResponse
impl Debug for RetrieveTransactionResponse
Source§impl Default for RetrieveTransactionResponse
impl Default for RetrieveTransactionResponse
Source§fn default() -> RetrieveTransactionResponse
fn default() -> RetrieveTransactionResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetrieveTransactionResponse
impl<'de> Deserialize<'de> for RetrieveTransactionResponse
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 RetrieveTransactionResponse
Auto Trait Implementations§
impl Freeze for RetrieveTransactionResponse
impl RefUnwindSafe for RetrieveTransactionResponse
impl Send for RetrieveTransactionResponse
impl Sync for RetrieveTransactionResponse
impl Unpin for RetrieveTransactionResponse
impl UnsafeUnpin for RetrieveTransactionResponse
impl UnwindSafe for RetrieveTransactionResponse
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