Skip to main content

TransferBaseResponseDto

Struct TransferBaseResponseDto 

Source
pub struct TransferBaseResponseDto {
Show 13 fields pub asset: String, pub asset_amount: Option<String>, pub asset_id: Option<String>, pub external_id: String, pub idx: Option<i64>, pub memo: Option<String>, pub network: String, pub output_address: Option<String>, pub timestamp: Option<String>, pub transfer_reference: String, pub tx: Option<String>, pub updated_at: Option<String>, pub usd_amount: Option<String>,
}
Expand description

TransferBaseResponseDto

JSON schema
{
 "type": "object",
 "required": [
   "asset",
   "assetAmount",
   "assetId",
   "externalId",
   "idx",
   "memo",
   "network",
   "outputAddress",
   "timestamp",
   "transferReference",
   "tx",
   "updatedAt",
   "usdAmount"
 ],
 "properties": {
   "asset": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET",
     "examples": [
       "BTC"
     ],
     "type": "string"
   },
   "assetAmount": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET_AMOUNT",
     "examples": [
       "11.35113454"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "assetId": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET_ID",
     "type": [
       "string",
       "null"
     ]
   },
   "externalId": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.EXTERNAL_ID",
     "examples": [
       "393905a7-bb96-394b-9e20-3645298c1079"
     ],
     "type": "string"
   },
   "idx": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.IDX",
     "examples": [
       2
     ],
     "type": [
       "integer",
       "null"
     ],
     "format": "int64"
   },
   "memo": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.MEMO",
     "type": [
       "string",
       "null"
     ]
   },
   "network": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.NETWORK",
     "examples": [
       "BITCOIN"
     ],
     "type": "string"
   },
   "outputAddress": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.OUTPUT_ADDRESS",
     "examples": [
       "17A16QmavnUfCW11DAApiJxp7ARnxN5pGX"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "timestamp": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.TIMESTAMP",
     "examples": [
       "2021-11-16T18:33:33.000+00:00"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "transferReference": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.TRANSFER_REFERENCE",
     "examples": [
       "9f318afbad2a183f97750bc51a75b582ad8f9e9cbfb50401148857ca27cde10c:17A16QmavnUfCW11DAApiJxp7ARnxN5pGX"
     ],
     "type": "string"
   },
   "tx": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.TX",
     "examples": [
       "9f318afbad2a183f97750bc51a75b582ad8f9e9cbfb50401148857ca27cde10c"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "updatedAt": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.UPDATED_AT",
     "examples": [
       "2022-03-16T16:17:19.613215"
     ],
     "type": [
       "string",
       "null"
     ]
   },
   "usdAmount": {
     "description": "DTO.KYT.TRANSFER_BASE_RESPONSE.USD_AMOUNT",
     "examples": [
       "722099.75"
     ],
     "type": [
       "string",
       "null"
     ]
   }
 }
}

Fields§

§asset: String

DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET

§asset_amount: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET_AMOUNT

§asset_id: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.ASSET_ID

§external_id: String

DTO.KYT.TRANSFER_BASE_RESPONSE.EXTERNAL_ID

§idx: Option<i64>

DTO.KYT.TRANSFER_BASE_RESPONSE.IDX

§memo: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.MEMO

§network: String

DTO.KYT.TRANSFER_BASE_RESPONSE.NETWORK

§output_address: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.OUTPUT_ADDRESS

§timestamp: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.TIMESTAMP

§transfer_reference: String

DTO.KYT.TRANSFER_BASE_RESPONSE.TRANSFER_REFERENCE

§tx: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.TX

§updated_at: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.UPDATED_AT

§usd_amount: Option<String>

DTO.KYT.TRANSFER_BASE_RESPONSE.USD_AMOUNT

Implementations§

Trait Implementations§

Source§

impl Clone for TransferBaseResponseDto

Source§

fn clone(&self) -> TransferBaseResponseDto

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TransferBaseResponseDto

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for TransferBaseResponseDto

Source§

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 From<&TransferBaseResponseDto> for TransferBaseResponseDto

Source§

fn from(value: &TransferBaseResponseDto) -> Self

Converts to this type from the input type.
Source§

impl From<TransferBaseResponseDto> for TransferBaseResponseDto

Source§

fn from(value: TransferBaseResponseDto) -> Self

Converts to this type from the input type.
Source§

impl Serialize for TransferBaseResponseDto

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl TryFrom<TransferBaseResponseDto> for TransferBaseResponseDto

Source§

type Error = ConversionError

The type returned in the event of a conversion error.
Source§

fn try_from(value: TransferBaseResponseDto) -> Result<Self, ConversionError>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,