pub struct TeleportTransfer {
pub teleport_id: String,
pub amount: u128,
pub from_address: String,
pub to_address: String,
pub destination: TeleportDestination,
pub status: TeleportStatus,
pub protocol_tx: Option<String>,
pub evm_tx: Option<String>,
pub initiated_at: u64,
pub completed_at: Option<u64>,
}Expand description
Teleport transfer - bridging AI coins from protocol to EVM chains
Fields§
§teleport_id: StringUnique teleport ID
amount: u128Amount of AI coin to teleport (in wei)
from_address: StringSource address (from AI protocol)
to_address: StringDestination address (on EVM chain)
destination: TeleportDestinationDestination chain
status: TeleportStatusTransfer status
protocol_tx: Option<String>Protocol transaction hash
evm_tx: Option<String>EVM transaction hash
initiated_at: u64Timestamp initiated
completed_at: Option<u64>Timestamp completed
Trait Implementations§
Source§impl Clone for TeleportTransfer
impl Clone for TeleportTransfer
Source§fn clone(&self) -> TeleportTransfer
fn clone(&self) -> TeleportTransfer
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 TeleportTransfer
impl Debug for TeleportTransfer
Source§impl<'de> Deserialize<'de> for TeleportTransfer
impl<'de> Deserialize<'de> for TeleportTransfer
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 TeleportTransfer
impl RefUnwindSafe for TeleportTransfer
impl Send for TeleportTransfer
impl Sync for TeleportTransfer
impl Unpin for TeleportTransfer
impl UnsafeUnpin for TeleportTransfer
impl UnwindSafe for TeleportTransfer
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