pub struct EsdtDataV2 {Show 21 fields
pub owner_address: Bytes,
pub token_name: Bytes,
pub ticker_name: Bytes,
pub token_type: Bytes,
pub mintable: bool,
pub burnable: bool,
pub can_pause: bool,
pub can_freeze: bool,
pub can_wipe: bool,
pub upgradable: bool,
pub can_change_owner: bool,
pub is_paused: bool,
pub minted_value: Bytes,
pub burnt_value: Bytes,
pub num_decimals: u32,
pub can_add_special_roles: bool,
pub nft_create_stopped: bool,
pub can_transfer_nft_create_role: bool,
pub special_roles: Vec<EsdtRoles>,
pub num_wiped: u32,
pub can_create_multi_shard: bool,
}Fields§
§owner_address: Bytes§token_name: Bytes§ticker_name: Bytes§token_type: Bytes§mintable: bool§burnable: bool§can_pause: bool§can_freeze: bool§can_wipe: bool§upgradable: bool§can_change_owner: bool§is_paused: bool§minted_value: Bytes§burnt_value: Bytes§num_decimals: u32§can_add_special_roles: bool§nft_create_stopped: bool§can_transfer_nft_create_role: bool§special_roles: Vec<EsdtRoles>§num_wiped: u32§can_create_multi_shard: boolTrait Implementations§
Source§impl Clone for EsdtDataV2
impl Clone for EsdtDataV2
Source§fn clone(&self) -> EsdtDataV2
fn clone(&self) -> EsdtDataV2
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 EsdtDataV2
impl Debug for EsdtDataV2
Source§impl Default for EsdtDataV2
impl Default for EsdtDataV2
Source§impl Message for EsdtDataV2
impl Message for EsdtDataV2
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for EsdtDataV2
impl PartialEq for EsdtDataV2
impl StructuralPartialEq for EsdtDataV2
Auto Trait Implementations§
impl !Freeze for EsdtDataV2
impl RefUnwindSafe for EsdtDataV2
impl Send for EsdtDataV2
impl Sync for EsdtDataV2
impl Unpin for EsdtDataV2
impl UnsafeUnpin for EsdtDataV2
impl UnwindSafe for EsdtDataV2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request