[−][src]Struct stellar_base::operations::ChangeTrustOperation
Implementations
impl ChangeTrustOperation
[src]
pub fn source_account(&self) -> &Option<MuxedAccount>
[src]
Retrieves the operation source account.
pub fn source_account_mut(&mut self) -> &mut Option<MuxedAccount>
[src]
Retrieves a reference to the operation source account.
pub fn asset(&self) -> &Asset
[src]
Retrieves the operation asset.
pub fn asset_mut(&mut self) -> &mut Asset
[src]
Retrieves a mutable reference the operation asset.
pub fn limit(&self) -> &Option<Stroops>
[src]
Retrieves the operation limit.
pub fn limit_mut(&mut self) -> &mut Option<Stroops>
[src]
Retrieves a mutable reference to the operation limit.
pub fn to_xdr_operation_body(&self) -> Result<OperationBody>
[src]
Returns the xdr operation body.
pub fn from_xdr_operation_body(
source_account: Option<MuxedAccount>,
x: &ChangeTrustOp
) -> Result<ChangeTrustOperation>
[src]
source_account: Option<MuxedAccount>,
x: &ChangeTrustOp
) -> Result<ChangeTrustOperation>
Creates from the xdr operatino body.
Trait Implementations
impl Clone for ChangeTrustOperation
[src]
fn clone(&self) -> ChangeTrustOperation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChangeTrustOperation
[src]
impl Eq for ChangeTrustOperation
[src]
impl PartialEq<ChangeTrustOperation> for ChangeTrustOperation
[src]
fn eq(&self, other: &ChangeTrustOperation) -> bool
[src]
fn ne(&self, other: &ChangeTrustOperation) -> bool
[src]
impl StructuralEq for ChangeTrustOperation
[src]
impl StructuralPartialEq for ChangeTrustOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChangeTrustOperation
impl Send for ChangeTrustOperation
impl Sync for ChangeTrustOperation
impl Unpin for ChangeTrustOperation
impl UnwindSafe for ChangeTrustOperation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,