pub struct GuardedQuote {
pub quote: Quote,
pub post_reserves_a: u64,
pub post_reserves_b: u64,
pub price: Price,
}Fields§
§quote: Quote§post_reserves_a: u64§post_reserves_b: u64§price: PriceTrait Implementations§
Source§impl Clone for GuardedQuote
impl Clone for GuardedQuote
Source§fn clone(&self) -> GuardedQuote
fn clone(&self) -> GuardedQuote
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 Debug for GuardedQuote
impl Debug for GuardedQuote
Source§impl PartialEq for GuardedQuote
impl PartialEq for GuardedQuote
Source§fn eq(&self, other: &GuardedQuote) -> bool
fn eq(&self, other: &GuardedQuote) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GuardedQuote
impl StructuralPartialEq for GuardedQuote
Auto Trait Implementations§
impl Freeze for GuardedQuote
impl RefUnwindSafe for GuardedQuote
impl Send for GuardedQuote
impl Sync for GuardedQuote
impl Unpin for GuardedQuote
impl UnsafeUnpin for GuardedQuote
impl UnwindSafe for GuardedQuote
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