[−][src]Struct stellar_base::operations::AllowTrustOperation
Implementations
impl AllowTrustOperation
[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 trustor(&self) -> &PublicKey
[src]
Retrieves the operation trustor.
pub fn trustor_mut(&mut self) -> &mut PublicKey
[src]
Retrieves a mutable reference to the operation trustor.
pub fn asset(&self) -> &CreditAssetType
[src]
Retrieves the operation asset.
pub fn asset_mut(&mut self) -> &mut CreditAssetType
[src]
Retrieves a mutable reference to the operation asset.
pub fn authorize_flags(&self) -> &TrustLineFlags
[src]
Retrieves the operation authorize flags.
pub fn authorize_flags_mut(&mut self) -> &mut TrustLineFlags
[src]
Retrieves a mutable reference to the operation authorize flags.
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: &AllowTrustOp
) -> Result<AllowTrustOperation>
[src]
source_account: Option<MuxedAccount>,
x: &AllowTrustOp
) -> Result<AllowTrustOperation>
Creates from xdr operation body.
Trait Implementations
impl Clone for AllowTrustOperation
[src]
pub fn clone(&self) -> AllowTrustOperation
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AllowTrustOperation
[src]
impl Eq for AllowTrustOperation
[src]
impl PartialEq<AllowTrustOperation> for AllowTrustOperation
[src]
pub fn eq(&self, other: &AllowTrustOperation) -> bool
[src]
pub fn ne(&self, other: &AllowTrustOperation) -> bool
[src]
impl StructuralEq for AllowTrustOperation
[src]
impl StructuralPartialEq for AllowTrustOperation
[src]
Auto Trait Implementations
impl RefUnwindSafe for AllowTrustOperation
[src]
impl Send for AllowTrustOperation
[src]
impl Sync for AllowTrustOperation
[src]
impl Unpin for AllowTrustOperation
[src]
impl UnwindSafe for AllowTrustOperation
[src]
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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,