pub struct AccountBuilder { /* private fields */ }
Implementations§
Source§impl AccountBuilder
impl AccountBuilder
pub fn new() -> Self
pub fn parent(id: AccountId) -> Self
pub fn root( code: impl Into<String>, decimals: u32, description: Option<impl Into<String>>, ) -> Self
pub fn issuance(self, flag: bool) -> Self
pub fn frozen(self, flag: bool) -> Self
pub fn balance_limit(self, limit: u64) -> Self
pub fn instrument( self, code: impl Into<String>, decimals: u32, description: Option<impl Into<String>>, ) -> Self
Trait Implementations§
Source§impl Default for AccountBuilder
impl Default for AccountBuilder
Source§impl From<AccountBuilder> for CreateLedgerAccount
impl From<AccountBuilder> for CreateLedgerAccount
Source§fn from(builder: AccountBuilder) -> Self
fn from(builder: AccountBuilder) -> Self
Converts to this type from the input type.
Source§impl WithContext for AccountBuilder
impl WithContext for AccountBuilder
Auto Trait Implementations§
impl Freeze for AccountBuilder
impl RefUnwindSafe for AccountBuilder
impl Send for AccountBuilder
impl Sync for AccountBuilder
impl Unpin for AccountBuilder
impl UnwindSafe for AccountBuilder
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request