pub struct EsdtDataV1 {Show 20 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,
}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: u32Trait Implementations§
Source§impl Clone for EsdtDataV1
impl Clone for EsdtDataV1
Source§fn clone(&self) -> EsdtDataV1
fn clone(&self) -> EsdtDataV1
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 EsdtDataV1
impl Debug for EsdtDataV1
Source§impl Default for EsdtDataV1
impl Default for EsdtDataV1
Source§impl Message for EsdtDataV1
impl Message for EsdtDataV1
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 EsdtDataV1
impl PartialEq for EsdtDataV1
impl StructuralPartialEq for EsdtDataV1
Auto Trait Implementations§
impl !Freeze for EsdtDataV1
impl RefUnwindSafe for EsdtDataV1
impl Send for EsdtDataV1
impl Sync for EsdtDataV1
impl Unpin for EsdtDataV1
impl UnsafeUnpin for EsdtDataV1
impl UnwindSafe for EsdtDataV1
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