pub struct Nutrient {
pub kind: String,
pub address: Option<String>,
pub recipient: Option<String>,
pub url: Option<String>,
pub label: Option<String>,
pub chain_id: Option<u64>,
pub token: Option<String>,
pub asset_id: Option<String>,
}Expand description
Single nutrient method entry
Fields§
§kind: String§address: Option<String>§recipient: Option<String>§url: Option<String>§label: Option<String>§chain_id: Option<u64>§token: Option<String>§asset_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Nutrient
impl<'de> Deserialize<'de> for Nutrient
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 Nutrient
impl RefUnwindSafe for Nutrient
impl Send for Nutrient
impl Sync for Nutrient
impl Unpin for Nutrient
impl UnsafeUnpin for Nutrient
impl UnwindSafe for Nutrient
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