pub struct SelectedProtocol {
pub name: String,
pub part: f64,
pub from_token_address: String,
pub to_token_address: String,
}Fields§
§name: String§part: f64§from_token_address: String§to_token_address: StringTrait Implementations§
Source§impl Debug for SelectedProtocol
impl Debug for SelectedProtocol
Source§impl<'de> Deserialize<'de> for SelectedProtocol
impl<'de> Deserialize<'de> for SelectedProtocol
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 SelectedProtocol
impl RefUnwindSafe for SelectedProtocol
impl Send for SelectedProtocol
impl Sync for SelectedProtocol
impl Unpin for SelectedProtocol
impl UnwindSafe for SelectedProtocol
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