[−][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]
fn clone(&self) -> AllowTrustOperation[src]
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]
fn eq(&self, other: &AllowTrustOperation) -> bool[src]
fn ne(&self, other: &AllowTrustOperation) -> bool[src]
impl StructuralEq for AllowTrustOperation[src]
impl StructuralPartialEq for AllowTrustOperation[src]
Auto Trait Implementations
impl RefUnwindSafe for AllowTrustOperation
impl Send for AllowTrustOperation
impl Sync for AllowTrustOperation
impl Unpin for AllowTrustOperation
impl UnwindSafe for AllowTrustOperation
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>,