pub struct MessageBoxQuote {
pub delivery_fee: i64,
pub recipient_fee: i64,
pub delivery_agent_identity_key: String,
}Expand description
Quote for delivering a message to a recipient.
NOT deserialized directly from JSON — constructed manually after parsing
the wrapped {"quote": {"recipientFee": N, "deliveryFee": N}} response
body and extracting the x-bsv-auth-identity-key response header.
Fields§
§delivery_fee: i64§recipient_fee: i64§delivery_agent_identity_key: StringPopulated from the x-bsv-auth-identity-key response header, not the body.
Trait Implementations§
Source§impl Clone for MessageBoxQuote
impl Clone for MessageBoxQuote
Source§fn clone(&self) -> MessageBoxQuote
fn clone(&self) -> MessageBoxQuote
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 moreAuto Trait Implementations§
impl Freeze for MessageBoxQuote
impl RefUnwindSafe for MessageBoxQuote
impl Send for MessageBoxQuote
impl Sync for MessageBoxQuote
impl Unpin for MessageBoxQuote
impl UnsafeUnpin for MessageBoxQuote
impl UnwindSafe for MessageBoxQuote
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