pub struct TronSignTx_TronContract {Show 18 fields
pub transfer_contract: SingularPtrField<TronSignTx_TronContract_TronTransferContract>,
pub transfer_asset_contract: SingularPtrField<TronSignTx_TronContract_TronTransferAssetContract>,
pub vote_witness_contract: SingularPtrField<TronSignTx_TronContract_TronVoteWitnessContract>,
pub witness_create_contract: SingularPtrField<TronSignTx_TronContract_TronWitnessCreateContract>,
pub asset_issue_contract: SingularPtrField<TronSignTx_TronContract_TronAssetIssueContract>,
pub witness_update_contract: SingularPtrField<TronSignTx_TronContract_TronWitnessUpdateContract>,
pub participate_asset_issue_contract: SingularPtrField<TronSignTx_TronContract_TronParticipateAssetIssueContract>,
pub account_update_contract: SingularPtrField<TronSignTx_TronContract_TronAccountUpdateContract>,
pub freeze_balance_contract: SingularPtrField<TronSignTx_TronContract_TronFreezeBalanceContract>,
pub unfreeze_balance_contract: SingularPtrField<TronSignTx_TronContract_TronUnfreezeBalanceContract>,
pub withdraw_balance_contract: SingularPtrField<TronSignTx_TronContract_TronWithdrawBalanceContract>,
pub unfreeze_asset_contract: SingularPtrField<TronSignTx_TronContract_TronUnfreezeAssetContract>,
pub update_asset_contract: SingularPtrField<TronSignTx_TronContract_TronUpdateAssetContract>,
pub proposal_create_contract: SingularPtrField<TronSignTx_TronContract_TronProposalCreateContract>,
pub proposal_approve_contract: SingularPtrField<TronSignTx_TronContract_TronProposalApproveContract>,
pub proposal_delete_contract: SingularPtrField<TronSignTx_TronContract_TronProposalDeleteContract>,
pub unknown_fields: UnknownFields,
pub cached_size: CachedSize,
}
Fields
transfer_contract: SingularPtrField<TronSignTx_TronContract_TronTransferContract>
transfer_asset_contract: SingularPtrField<TronSignTx_TronContract_TronTransferAssetContract>
vote_witness_contract: SingularPtrField<TronSignTx_TronContract_TronVoteWitnessContract>
witness_create_contract: SingularPtrField<TronSignTx_TronContract_TronWitnessCreateContract>
asset_issue_contract: SingularPtrField<TronSignTx_TronContract_TronAssetIssueContract>
witness_update_contract: SingularPtrField<TronSignTx_TronContract_TronWitnessUpdateContract>
participate_asset_issue_contract: SingularPtrField<TronSignTx_TronContract_TronParticipateAssetIssueContract>
account_update_contract: SingularPtrField<TronSignTx_TronContract_TronAccountUpdateContract>
freeze_balance_contract: SingularPtrField<TronSignTx_TronContract_TronFreezeBalanceContract>
unfreeze_balance_contract: SingularPtrField<TronSignTx_TronContract_TronUnfreezeBalanceContract>
withdraw_balance_contract: SingularPtrField<TronSignTx_TronContract_TronWithdrawBalanceContract>
unfreeze_asset_contract: SingularPtrField<TronSignTx_TronContract_TronUnfreezeAssetContract>
update_asset_contract: SingularPtrField<TronSignTx_TronContract_TronUpdateAssetContract>
proposal_create_contract: SingularPtrField<TronSignTx_TronContract_TronProposalCreateContract>
proposal_approve_contract: SingularPtrField<TronSignTx_TronContract_TronProposalApproveContract>
proposal_delete_contract: SingularPtrField<TronSignTx_TronContract_TronProposalDeleteContract>
unknown_fields: UnknownFields
cached_size: CachedSize
Implementations
sourceimpl TronSignTx_TronContract
impl TronSignTx_TronContract
pub fn new() -> TronSignTx_TronContract
pub fn get_transfer_contract(
&self
) -> &TronSignTx_TronContract_TronTransferContract
pub fn clear_transfer_contract(&mut self)
pub fn has_transfer_contract(&self) -> bool
pub fn set_transfer_contract(
&mut self,
v: TronSignTx_TronContract_TronTransferContract
)
pub fn mut_transfer_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronTransferContract
pub fn take_transfer_contract(
&mut self
) -> TronSignTx_TronContract_TronTransferContract
pub fn get_transfer_asset_contract(
&self
) -> &TronSignTx_TronContract_TronTransferAssetContract
pub fn clear_transfer_asset_contract(&mut self)
pub fn has_transfer_asset_contract(&self) -> bool
pub fn set_transfer_asset_contract(
&mut self,
v: TronSignTx_TronContract_TronTransferAssetContract
)
pub fn mut_transfer_asset_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronTransferAssetContract
pub fn take_transfer_asset_contract(
&mut self
) -> TronSignTx_TronContract_TronTransferAssetContract
pub fn get_vote_witness_contract(
&self
) -> &TronSignTx_TronContract_TronVoteWitnessContract
pub fn clear_vote_witness_contract(&mut self)
pub fn has_vote_witness_contract(&self) -> bool
pub fn set_vote_witness_contract(
&mut self,
v: TronSignTx_TronContract_TronVoteWitnessContract
)
pub fn mut_vote_witness_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronVoteWitnessContract
pub fn take_vote_witness_contract(
&mut self
) -> TronSignTx_TronContract_TronVoteWitnessContract
pub fn get_witness_create_contract(
&self
) -> &TronSignTx_TronContract_TronWitnessCreateContract
pub fn clear_witness_create_contract(&mut self)
pub fn has_witness_create_contract(&self) -> bool
pub fn set_witness_create_contract(
&mut self,
v: TronSignTx_TronContract_TronWitnessCreateContract
)
pub fn mut_witness_create_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronWitnessCreateContract
pub fn take_witness_create_contract(
&mut self
) -> TronSignTx_TronContract_TronWitnessCreateContract
pub fn get_asset_issue_contract(
&self
) -> &TronSignTx_TronContract_TronAssetIssueContract
pub fn clear_asset_issue_contract(&mut self)
pub fn has_asset_issue_contract(&self) -> bool
pub fn set_asset_issue_contract(
&mut self,
v: TronSignTx_TronContract_TronAssetIssueContract
)
pub fn mut_asset_issue_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronAssetIssueContract
pub fn take_asset_issue_contract(
&mut self
) -> TronSignTx_TronContract_TronAssetIssueContract
pub fn get_witness_update_contract(
&self
) -> &TronSignTx_TronContract_TronWitnessUpdateContract
pub fn clear_witness_update_contract(&mut self)
pub fn has_witness_update_contract(&self) -> bool
pub fn set_witness_update_contract(
&mut self,
v: TronSignTx_TronContract_TronWitnessUpdateContract
)
pub fn mut_witness_update_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronWitnessUpdateContract
pub fn take_witness_update_contract(
&mut self
) -> TronSignTx_TronContract_TronWitnessUpdateContract
pub fn get_participate_asset_issue_contract(
&self
) -> &TronSignTx_TronContract_TronParticipateAssetIssueContract
pub fn clear_participate_asset_issue_contract(&mut self)
pub fn has_participate_asset_issue_contract(&self) -> bool
pub fn set_participate_asset_issue_contract(
&mut self,
v: TronSignTx_TronContract_TronParticipateAssetIssueContract
)
pub fn mut_participate_asset_issue_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronParticipateAssetIssueContract
pub fn take_participate_asset_issue_contract(
&mut self
) -> TronSignTx_TronContract_TronParticipateAssetIssueContract
pub fn get_account_update_contract(
&self
) -> &TronSignTx_TronContract_TronAccountUpdateContract
pub fn clear_account_update_contract(&mut self)
pub fn has_account_update_contract(&self) -> bool
pub fn set_account_update_contract(
&mut self,
v: TronSignTx_TronContract_TronAccountUpdateContract
)
pub fn mut_account_update_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronAccountUpdateContract
pub fn take_account_update_contract(
&mut self
) -> TronSignTx_TronContract_TronAccountUpdateContract
pub fn get_freeze_balance_contract(
&self
) -> &TronSignTx_TronContract_TronFreezeBalanceContract
pub fn clear_freeze_balance_contract(&mut self)
pub fn has_freeze_balance_contract(&self) -> bool
pub fn set_freeze_balance_contract(
&mut self,
v: TronSignTx_TronContract_TronFreezeBalanceContract
)
pub fn mut_freeze_balance_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronFreezeBalanceContract
pub fn take_freeze_balance_contract(
&mut self
) -> TronSignTx_TronContract_TronFreezeBalanceContract
pub fn get_unfreeze_balance_contract(
&self
) -> &TronSignTx_TronContract_TronUnfreezeBalanceContract
pub fn clear_unfreeze_balance_contract(&mut self)
pub fn has_unfreeze_balance_contract(&self) -> bool
pub fn set_unfreeze_balance_contract(
&mut self,
v: TronSignTx_TronContract_TronUnfreezeBalanceContract
)
pub fn mut_unfreeze_balance_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronUnfreezeBalanceContract
pub fn take_unfreeze_balance_contract(
&mut self
) -> TronSignTx_TronContract_TronUnfreezeBalanceContract
pub fn get_withdraw_balance_contract(
&self
) -> &TronSignTx_TronContract_TronWithdrawBalanceContract
pub fn clear_withdraw_balance_contract(&mut self)
pub fn has_withdraw_balance_contract(&self) -> bool
pub fn set_withdraw_balance_contract(
&mut self,
v: TronSignTx_TronContract_TronWithdrawBalanceContract
)
pub fn mut_withdraw_balance_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronWithdrawBalanceContract
pub fn take_withdraw_balance_contract(
&mut self
) -> TronSignTx_TronContract_TronWithdrawBalanceContract
pub fn get_unfreeze_asset_contract(
&self
) -> &TronSignTx_TronContract_TronUnfreezeAssetContract
pub fn clear_unfreeze_asset_contract(&mut self)
pub fn has_unfreeze_asset_contract(&self) -> bool
pub fn set_unfreeze_asset_contract(
&mut self,
v: TronSignTx_TronContract_TronUnfreezeAssetContract
)
pub fn mut_unfreeze_asset_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronUnfreezeAssetContract
pub fn take_unfreeze_asset_contract(
&mut self
) -> TronSignTx_TronContract_TronUnfreezeAssetContract
pub fn get_update_asset_contract(
&self
) -> &TronSignTx_TronContract_TronUpdateAssetContract
pub fn clear_update_asset_contract(&mut self)
pub fn has_update_asset_contract(&self) -> bool
pub fn set_update_asset_contract(
&mut self,
v: TronSignTx_TronContract_TronUpdateAssetContract
)
pub fn mut_update_asset_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronUpdateAssetContract
pub fn take_update_asset_contract(
&mut self
) -> TronSignTx_TronContract_TronUpdateAssetContract
pub fn get_proposal_create_contract(
&self
) -> &TronSignTx_TronContract_TronProposalCreateContract
pub fn clear_proposal_create_contract(&mut self)
pub fn has_proposal_create_contract(&self) -> bool
pub fn set_proposal_create_contract(
&mut self,
v: TronSignTx_TronContract_TronProposalCreateContract
)
pub fn mut_proposal_create_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronProposalCreateContract
pub fn take_proposal_create_contract(
&mut self
) -> TronSignTx_TronContract_TronProposalCreateContract
pub fn get_proposal_approve_contract(
&self
) -> &TronSignTx_TronContract_TronProposalApproveContract
pub fn clear_proposal_approve_contract(&mut self)
pub fn has_proposal_approve_contract(&self) -> bool
pub fn set_proposal_approve_contract(
&mut self,
v: TronSignTx_TronContract_TronProposalApproveContract
)
pub fn mut_proposal_approve_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronProposalApproveContract
pub fn take_proposal_approve_contract(
&mut self
) -> TronSignTx_TronContract_TronProposalApproveContract
pub fn get_proposal_delete_contract(
&self
) -> &TronSignTx_TronContract_TronProposalDeleteContract
pub fn clear_proposal_delete_contract(&mut self)
pub fn has_proposal_delete_contract(&self) -> bool
pub fn set_proposal_delete_contract(
&mut self,
v: TronSignTx_TronContract_TronProposalDeleteContract
)
pub fn mut_proposal_delete_contract(
&mut self
) -> &mut TronSignTx_TronContract_TronProposalDeleteContract
pub fn take_proposal_delete_contract(
&mut self
) -> TronSignTx_TronContract_TronProposalDeleteContract
Trait Implementations
sourceimpl Clear for TronSignTx_TronContract
impl Clear for TronSignTx_TronContract
sourceimpl Clone for TronSignTx_TronContract
impl Clone for TronSignTx_TronContract
sourcefn clone(&self) -> TronSignTx_TronContract
fn clone(&self) -> TronSignTx_TronContract
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TronSignTx_TronContract
impl Debug for TronSignTx_TronContract
sourceimpl<'a> Default for &'a TronSignTx_TronContract
impl<'a> Default for &'a TronSignTx_TronContract
sourcefn default() -> &'a TronSignTx_TronContract
fn default() -> &'a TronSignTx_TronContract
Returns the “default value” for a type. Read more
sourceimpl Default for TronSignTx_TronContract
impl Default for TronSignTx_TronContract
sourcefn default() -> TronSignTx_TronContract
fn default() -> TronSignTx_TronContract
Returns the “default value” for a type. Read more
sourceimpl Message for TronSignTx_TronContract
impl Message for TronSignTx_TronContract
sourcefn is_initialized(&self) -> bool
fn is_initialized(&self) -> bool
True iff all required fields are initialized.
Always returns
true
for protobuf 3. Read moresourcefn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
fn merge_from(&mut self, is: &mut CodedInputStream<'_>) -> ProtobufResult<()>
Update this message object with fields read from given stream.
sourcefn compute_size(&self) -> u32
fn compute_size(&self) -> u32
Compute and cache size of this message and all nested messages
sourcefn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
Write message to the stream. Read more
sourcefn get_cached_size(&self) -> u32
fn get_cached_size(&self) -> u32
Get size previously computed by
compute_size
.sourcefn get_unknown_fields(&self) -> &UnknownFields
fn get_unknown_fields(&self) -> &UnknownFields
Get a reference to unknown fields.
sourcefn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
Get a mutable reference to unknown fields.
sourcefn as_any_mut(&mut self) -> &mut dyn Any
fn as_any_mut(&mut self) -> &mut dyn Any
View self as mutable
Any
.sourcefn descriptor(&self) -> &'static MessageDescriptor
fn descriptor(&self) -> &'static MessageDescriptor
Message descriptor for this message, used for reflection.
sourcefn new() -> TronSignTx_TronContract
fn new() -> TronSignTx_TronContract
Create an empty message object. Read more
sourcefn descriptor_static() -> &'static MessageDescriptor
fn descriptor_static() -> &'static MessageDescriptor
Get message descriptor for message type. Read more
sourcefn default_instance() -> &'static TronSignTx_TronContract
fn default_instance() -> &'static TronSignTx_TronContract
Return a pointer to default immutable message with static lifetime. Read more
sourcefn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from(is: &mut CodedInputStream<'_>) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from stream.
sourcefn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
fn write_to(&self, os: &mut CodedOutputStream<'_>) -> Result<(), ProtobufError>
Write the message to the stream. Read more
sourcefn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream<'_>
) -> Result<(), ProtobufError>
Write the message to the stream prepending the message with message length
encoded as varint. Read more
sourcefn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8, Global>
) -> Result<(), ProtobufError>
Write the message to the vec, prepend the message with message length
encoded as varint. Read more
sourcefn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
Update this message object with fields read from given stream.
sourcefn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_reader(reader: &mut dyn Read) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from reader.
Parse stops on EOF or when error encountered. Read more
sourcefn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
fn parse_from_bytes(bytes: &[u8]) -> Result<Self, ProtobufError>where
Self: Sized,
Parse message from byte array.
sourcefn check_initialized(&self) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
Check if all required fields of this object are initialized.
sourcefn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut dyn Write) -> Result<(), ProtobufError>
Write the message to the writer.
sourcefn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8, Global>) -> Result<(), ProtobufError>
Write the message to bytes vec.
sourcefn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8, Global>, ProtobufError>
Write the message to bytes vec.
sourcefn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut dyn Write
) -> Result<(), ProtobufError>
Write the message to the writer, prepend the message with message length
encoded as varint. Read more
sourcefn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
fn write_length_delimited_to_bytes(
&self
) -> Result<Vec<u8, Global>, ProtobufError>
Write the message to the bytes vec, prepend the message with message length
encoded as varint. Read more
sourceimpl PartialEq<TronSignTx_TronContract> for TronSignTx_TronContract
impl PartialEq<TronSignTx_TronContract> for TronSignTx_TronContract
sourcefn eq(&self, other: &TronSignTx_TronContract) -> bool
fn eq(&self, other: &TronSignTx_TronContract) -> bool
sourceimpl ProtobufValue for TronSignTx_TronContract
impl ProtobufValue for TronSignTx_TronContract
sourcefn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
sourcefn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
sourcefn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl StructuralPartialEq for TronSignTx_TronContract
Auto Trait Implementations
impl RefUnwindSafe for TronSignTx_TronContract
impl Send for TronSignTx_TronContract
impl Sync for TronSignTx_TronContract
impl Unpin for TronSignTx_TronContract
impl UnwindSafe for TronSignTx_TronContract
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more