pub struct DexscrBoost { /* private fields */ }Implementations§
Source§impl DexscrBoost
impl DexscrBoost
pub fn amount<T>(self, value: T) -> Self
pub fn chain<T>(self, value: T) -> Self
pub fn description<T>(self, value: T) -> Self
pub fn header<T>(self, value: T) -> Self
pub fn icon<T>(self, value: T) -> Self
pub fn links<T>(self, value: T) -> Self
pub fn open_graph<T>(self, value: T) -> Self
pub fn token_address<T>(self, value: T) -> Self
pub fn total_amount<T>(self, value: T) -> Self
pub fn url<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DexscrBoost
impl Clone for DexscrBoost
Source§fn clone(&self) -> DexscrBoost
fn clone(&self) -> DexscrBoost
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 moreSource§impl Debug for DexscrBoost
impl Debug for DexscrBoost
Source§impl Default for DexscrBoost
impl Default for DexscrBoost
Source§impl From<DexscrBoost> for DexscrBoost
impl From<DexscrBoost> for DexscrBoost
Source§fn from(value: DexscrBoost) -> Self
fn from(value: DexscrBoost) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DexscrBoost> for DexscrBoost
impl TryFrom<DexscrBoost> for DexscrBoost
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DexscrBoost) -> Result<Self, ConversionError>
fn try_from(value: DexscrBoost) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DexscrBoost
impl RefUnwindSafe for DexscrBoost
impl Send for DexscrBoost
impl Sync for DexscrBoost
impl Unpin for DexscrBoost
impl UnsafeUnpin for DexscrBoost
impl UnwindSafe for DexscrBoost
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