pub struct AddAbiRequestDto {
pub contract_address: String,
pub base_asset_id: String,
pub abi: Vec<AbiFunction>,
pub name: Option<String>,
}
Fields§
§contract_address: String
The address of deployed contract
base_asset_id: String
The blockchain base assetId
abi: Vec<AbiFunction>
The ABI of the contract
name: Option<String>
The name of the contract
Implementations§
Source§impl AddAbiRequestDto
impl AddAbiRequestDto
pub fn new( contract_address: String, base_asset_id: String, abi: Vec<AbiFunction>, ) -> AddAbiRequestDto
Trait Implementations§
Source§impl Clone for AddAbiRequestDto
impl Clone for AddAbiRequestDto
Source§fn clone(&self) -> AddAbiRequestDto
fn clone(&self) -> AddAbiRequestDto
Returns a duplicate of the value. Read more
1.0.0 · 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 AddAbiRequestDto
impl Debug for AddAbiRequestDto
Source§impl Default for AddAbiRequestDto
impl Default for AddAbiRequestDto
Source§fn default() -> AddAbiRequestDto
fn default() -> AddAbiRequestDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddAbiRequestDto
impl<'de> Deserialize<'de> for AddAbiRequestDto
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
Source§impl PartialEq for AddAbiRequestDto
impl PartialEq for AddAbiRequestDto
Source§impl Serialize for AddAbiRequestDto
impl Serialize for AddAbiRequestDto
impl StructuralPartialEq for AddAbiRequestDto
Auto Trait Implementations§
impl Freeze for AddAbiRequestDto
impl RefUnwindSafe for AddAbiRequestDto
impl Send for AddAbiRequestDto
impl Sync for AddAbiRequestDto
impl Unpin for AddAbiRequestDto
impl UnwindSafe for AddAbiRequestDto
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