pub struct Builder { /* private fields */ }Expand description
Who routed the order and what it takes: {b, f}, the address lowercase,
the fee in tenths of a basis point.
Implementations§
Source§impl Builder
impl Builder
Sourcepub const fn new(address: Address, fee: BuilderFee) -> Builder
pub const fn new(address: Address, fee: BuilderFee) -> Builder
The account must have approved at least fee for this builder
(approveBuilderFee), or the venue refuses the order.
pub const fn address(&self) -> Address
pub const fn fee(&self) -> BuilderFee
pub fn wire(&self) -> Map
Trait Implementations§
impl Copy for Builder
impl Eq for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnsafeUnpin for Builder
impl UnwindSafe for Builder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.