pub struct Listing {Show 22 fields
pub id: String,
pub nft_collateral_contract: Address,
pub nft_collateral_id: String,
pub v: i64,
pub borrower: String,
pub contract_name: ContractName,
pub desired_loan_currency: Option<Address>,
pub desired_loan_duration: Option<U256>,
pub desired_loan_principal_amount: Option<U256>,
pub listed_date: DateTime<Utc>,
pub nft_key: String,
pub nonce: String,
pub signed_message: String,
pub status: Status,
pub whitelisted: bool,
pub name: Option<String>,
pub project_name: String,
pub description: String,
pub image_url: String,
pub animation_url: Option<String>,
pub traits: Vec<Trait>,
pub data_uri: Option<String>,
}Fields§
§id: String§nft_collateral_contract: Address§nft_collateral_id: String§v: i64§borrower: String§contract_name: ContractName§desired_loan_currency: Option<Address>§desired_loan_duration: Option<U256>§desired_loan_principal_amount: Option<U256>§listed_date: DateTime<Utc>§nft_key: String§nonce: String§signed_message: String§status: Status§whitelisted: bool§name: Option<String>§project_name: String§description: String§image_url: String§animation_url: Option<String>§traits: Vec<Trait>§data_uri: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Listing
impl<'de> Deserialize<'de> for Listing
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
Auto Trait Implementations§
impl Freeze for Listing
impl RefUnwindSafe for Listing
impl Send for Listing
impl Sync for Listing
impl Unpin for Listing
impl UnwindSafe for Listing
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