pub struct OnrampLimitUpgrade { /* private fields */ }Implementations§
Source§impl OnrampLimitUpgrade
impl OnrampLimitUpgrade
pub fn limit_type<T>(self, value: T) -> Self
pub fn max_upgrade<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for OnrampLimitUpgrade
impl Clone for OnrampLimitUpgrade
Source§impl Debug for OnrampLimitUpgrade
impl Debug for OnrampLimitUpgrade
Source§impl Default for OnrampLimitUpgrade
impl Default for OnrampLimitUpgrade
Source§impl From<OnrampLimitUpgrade> for OnrampLimitUpgrade
impl From<OnrampLimitUpgrade> for OnrampLimitUpgrade
Source§fn from(value: OnrampLimitUpgrade) -> Self
fn from(value: OnrampLimitUpgrade) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnrampLimitUpgrade> for OnrampLimitUpgrade
impl TryFrom<OnrampLimitUpgrade> for OnrampLimitUpgrade
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OnrampLimitUpgrade) -> Result<Self, ConversionError>
fn try_from(value: OnrampLimitUpgrade) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnrampLimitUpgrade
impl RefUnwindSafe for OnrampLimitUpgrade
impl Send for OnrampLimitUpgrade
impl Sync for OnrampLimitUpgrade
impl Unpin for OnrampLimitUpgrade
impl UnsafeUnpin for OnrampLimitUpgrade
impl UnwindSafe for OnrampLimitUpgrade
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