pub struct StudioCreateDBCTransactionRequestBodyBuilder { /* private fields */ }Expand description
Dependency-free builder for [#struct_name].
Implementations§
Source§impl StudioCreateDBCTransactionRequestBodyBuilder
impl StudioCreateDBCTransactionRequestBodyBuilder
Sourcepub fn new(
anti_sniping: bool,
build_curve_by_market_cap_param: StudioCreateDBCTransactionRequestBodyBuildCurveByMarketCapParam,
creator: String,
fee: StudioCreateDBCTransactionRequestBodyFee,
token_image_content_type: StudioCreateDBCTransactionRequestBodyTokenImageContentType,
token_name: String,
token_symbol: String,
) -> Self
pub fn new( anti_sniping: bool, build_curve_by_market_cap_param: StudioCreateDBCTransactionRequestBodyBuildCurveByMarketCapParam, creator: String, fee: StudioCreateDBCTransactionRequestBodyFee, token_image_content_type: StudioCreateDBCTransactionRequestBodyTokenImageContentType, token_name: String, token_symbol: String, ) -> Self
Start a builder with every required wire field.
Sourcepub fn is_lp_locked(self, is_lp_locked: bool) -> Self
pub fn is_lp_locked(self, is_lp_locked: bool) -> Self
Set the optional isLpLocked request field.
Sourcepub fn build(self) -> StudioCreateDBCTransactionRequestBody
pub fn build(self) -> StudioCreateDBCTransactionRequestBody
Finish building the request model.
Trait Implementations§
Source§impl Clone for StudioCreateDBCTransactionRequestBodyBuilder
impl Clone for StudioCreateDBCTransactionRequestBodyBuilder
Source§fn clone(&self) -> StudioCreateDBCTransactionRequestBodyBuilder
fn clone(&self) -> StudioCreateDBCTransactionRequestBodyBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StudioCreateDBCTransactionRequestBodyBuilder
impl RefUnwindSafe for StudioCreateDBCTransactionRequestBodyBuilder
impl Send for StudioCreateDBCTransactionRequestBodyBuilder
impl Sync for StudioCreateDBCTransactionRequestBodyBuilder
impl Unpin for StudioCreateDBCTransactionRequestBodyBuilder
impl UnsafeUnpin for StudioCreateDBCTransactionRequestBodyBuilder
impl UnwindSafe for StudioCreateDBCTransactionRequestBodyBuilder
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