pub struct LendingParams {Show 13 fields
pub bool1: u8,
pub bool2: u8,
pub bool3: u8,
pub bool4: u8,
pub max_allowed_utilization_bps: u64,
pub unused_uint1: u64,
pub unused_uint2: u64,
pub unused_uint3: u64,
pub unused_uint4: u64,
pub unused_float1: f64,
pub unused_float2: f64,
pub unused_float3: f64,
pub unused_float4: f64,
}Fields§
§bool1: u8§bool2: u8§bool3: u8§bool4: u8§max_allowed_utilization_bps: u64§unused_uint1: u64§unused_uint2: u64§unused_uint3: u64§unused_uint4: u64§unused_float1: f64§unused_float2: f64§unused_float3: f64§unused_float4: f64Implementations§
Trait Implementations§
Source§impl BorshDeserialize for LendingParams
impl BorshDeserialize for LendingParams
Source§impl BorshSerialize for LendingParams
impl BorshSerialize for LendingParams
Source§impl Clone for LendingParams
impl Clone for LendingParams
Source§fn clone(&self) -> LendingParams
fn clone(&self) -> LendingParams
Returns a duplicate 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 LendingParams
impl Debug for LendingParams
Source§impl Default for LendingParams
impl Default for LendingParams
Source§fn default() -> LendingParams
fn default() -> LendingParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for LendingParams
impl PartialEq for LendingParams
impl Copy for LendingParams
impl StructuralPartialEq for LendingParams
Auto Trait Implementations§
impl Freeze for LendingParams
impl RefUnwindSafe for LendingParams
impl Send for LendingParams
impl Sync for LendingParams
impl Unpin for LendingParams
impl UnwindSafe for LendingParams
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more