pub struct LendingPoolApiResponseStringArray {
pub success: bool,
pub message: String,
pub data: Option<Vec<String>>,
}Fields§
§success: bool§message: String§data: Option<Vec<String>>Implementations§
Source§impl LendingPoolApiResponseStringArray
impl LendingPoolApiResponseStringArray
pub fn new(success: bool, message: String) -> LendingPoolApiResponseStringArray
Trait Implementations§
Source§impl Clone for LendingPoolApiResponseStringArray
impl Clone for LendingPoolApiResponseStringArray
Source§fn clone(&self) -> LendingPoolApiResponseStringArray
fn clone(&self) -> LendingPoolApiResponseStringArray
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 Default for LendingPoolApiResponseStringArray
impl Default for LendingPoolApiResponseStringArray
Source§fn default() -> LendingPoolApiResponseStringArray
fn default() -> LendingPoolApiResponseStringArray
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LendingPoolApiResponseStringArray
impl<'de> Deserialize<'de> for LendingPoolApiResponseStringArray
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 LendingPoolApiResponseStringArray
impl PartialEq for LendingPoolApiResponseStringArray
Source§fn eq(&self, other: &LendingPoolApiResponseStringArray) -> bool
fn eq(&self, other: &LendingPoolApiResponseStringArray) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LendingPoolApiResponseStringArray
Auto Trait Implementations§
impl Freeze for LendingPoolApiResponseStringArray
impl RefUnwindSafe for LendingPoolApiResponseStringArray
impl Send for LendingPoolApiResponseStringArray
impl Sync for LendingPoolApiResponseStringArray
impl Unpin for LendingPoolApiResponseStringArray
impl UnsafeUnpin for LendingPoolApiResponseStringArray
impl UnwindSafe for LendingPoolApiResponseStringArray
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