pub struct LockTypeDetail {
pub lock_type: LockType,
pub bonding: Option<BondingDetail>,
}
Expand description
Details of how funds are locked by an earn strategy
Fields§
§lock_type: LockType
§bonding: Option<BondingDetail>
Trait Implementations§
Source§impl Clone for LockTypeDetail
impl Clone for LockTypeDetail
Source§fn clone(&self) -> LockTypeDetail
fn clone(&self) -> LockTypeDetail
Returns a copy of the value. Read more
1.0.0 · 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 LockTypeDetail
impl Debug for LockTypeDetail
Source§impl<'de> Deserialize<'de> for LockTypeDetail
impl<'de> Deserialize<'de> for LockTypeDetail
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LockTypeDetail
impl PartialEq for LockTypeDetail
impl StructuralPartialEq for LockTypeDetail
Auto Trait Implementations§
impl Freeze for LockTypeDetail
impl RefUnwindSafe for LockTypeDetail
impl Send for LockTypeDetail
impl Sync for LockTypeDetail
impl Unpin for LockTypeDetail
impl UnwindSafe for LockTypeDetail
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