Struct stellar_client::resources::effect::Effect [−][src]
pub struct Effect { /* fields omitted */ }A successful operation will yield zero or more effects. These effects represent specific changes that occur in the ledger, but are not necessarily directly reflected in the ledger or history, as transactions and operations are.
Methods
impl Effect[src]
impl Effectpub fn id(&self) -> &String[src]
pub fn id(&self) -> &Stringthe unique identifier of an effect
pub fn paging_token(&self) -> &String[src]
pub fn paging_token(&self) -> &StringA paging token suitable for use as a cursor parameter.
pub fn type_i(&self) -> u32[src]
pub fn type_i(&self) -> u32Specifies the type of effect, See “Types” section below for reference.
pub fn kind(&self) -> &Kind[src]
pub fn kind(&self) -> &KindReturns the kind of the effect
pub fn kind_name(&self) -> &str[src]
pub fn kind_name(&self) -> &strReturns the name of the effect kind
pub fn is_account_created(&self) -> bool[src]
pub fn is_account_created(&self) -> boolReturns true if the effect is an account_created effect
pub fn is_account_removed(&self) -> bool[src]
pub fn is_account_removed(&self) -> boolReturns true if the effect is an account_removed effect
pub fn is_account_credited(&self) -> bool[src]
pub fn is_account_credited(&self) -> boolReturns true if the effect is an account_credited effect
pub fn is_account_debited(&self) -> bool[src]
pub fn is_account_debited(&self) -> boolReturns true if the effect is an account_debited effect
pub fn is_account_thresholds_updated(&self) -> bool[src]
pub fn is_account_thresholds_updated(&self) -> boolReturns true if the effect is an account_threshold_updated effect
pub fn is_account_home_domain_updated(&self) -> bool[src]
pub fn is_account_home_domain_updated(&self) -> boolReturns true if the effect is an account_home_domain_updated effect
pub fn is_account_flags_updated(&self) -> bool[src]
pub fn is_account_flags_updated(&self) -> boolReturns true if the effect is an account_flags_updated effect
pub fn is_data_created(&self) -> bool[src]
pub fn is_data_created(&self) -> boolReturns true if the effect is a data_created effect
pub fn is_data_removed(&self) -> bool[src]
pub fn is_data_removed(&self) -> boolReturns true if the effect is a data_removed effect
pub fn is_data_updated(&self) -> bool[src]
pub fn is_data_updated(&self) -> boolReturns true if the effect is a data_updated effect
pub fn is_signer_created(&self) -> bool[src]
pub fn is_signer_created(&self) -> boolReturns true if the effect is a signer created effect
pub fn is_signer_removed(&self) -> bool[src]
pub fn is_signer_removed(&self) -> boolReturns true if the effect is a signer removed effect
pub fn is_signer_updated(&self) -> bool[src]
pub fn is_signer_updated(&self) -> boolReturns true if the effect is a signer updated effect
pub fn is_trustline_created(&self) -> bool[src]
pub fn is_trustline_created(&self) -> boolReturns true if the effect is a trustline created effect
pub fn is_trustline_removed(&self) -> bool[src]
pub fn is_trustline_removed(&self) -> boolReturns true if the effect is a trustline removed effect
pub fn is_trustline_updated(&self) -> bool[src]
pub fn is_trustline_updated(&self) -> boolReturns true if the effect is a trustline updated effect
Returns true if the effect is a trustline authorized effect
Returns true if the effect is a trustline deauthorized effect
pub fn is_trade(&self) -> bool[src]
pub fn is_trade(&self) -> boolReturns true if the effect is a trade effect
Trait Implementations
impl Debug for Effect[src]
impl Debug for Effectfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for Effect[src]
impl Clone for Effectfn clone(&self) -> Effect[src]
fn clone(&self) -> EffectReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'de> Deserialize<'de> for Effect[src]
impl<'de> Deserialize<'de> for Effectfn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(d: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more