pub struct AllowTrustOperationBuilder { /* private fields */ }Implementations§
Source§impl AllowTrustOperationBuilder
impl AllowTrustOperationBuilder
pub fn new() -> AllowTrustOperationBuilder
pub fn with_source_account<S>(self, source: S) -> AllowTrustOperationBuilderwhere
S: Into<MuxedAccount>,
pub fn with_trustor(self, trustor: PublicKey) -> AllowTrustOperationBuilder
pub fn with_asset(self, asset: CreditAssetType) -> AllowTrustOperationBuilder
pub fn build(self) -> Result<Operation>
Trait Implementations§
Source§impl Debug for AllowTrustOperationBuilder
impl Debug for AllowTrustOperationBuilder
Source§impl Default for AllowTrustOperationBuilder
impl Default for AllowTrustOperationBuilder
Source§fn default() -> AllowTrustOperationBuilder
fn default() -> AllowTrustOperationBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AllowTrustOperationBuilder
impl RefUnwindSafe for AllowTrustOperationBuilder
impl Send for AllowTrustOperationBuilder
impl Sync for AllowTrustOperationBuilder
impl Unpin for AllowTrustOperationBuilder
impl UnwindSafe for AllowTrustOperationBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more