pub struct ReceiptOptions {
pub enabled: bool,
pub signing_key: Option<String>,
pub service_name: Option<String>,
pub sink: Option<Arc<dyn ReceiptSink>>,
}Expand description
Options for enable_receipts.
Fields§
§enabled: bool§signing_key: Option<String>§service_name: Option<String>§sink: Option<Arc<dyn ReceiptSink>>Required outside test mode: where accepted receipts are delivered.
Trait Implementations§
Source§impl Clone for ReceiptOptions
impl Clone for ReceiptOptions
Source§fn clone(&self) -> ReceiptOptions
fn clone(&self) -> ReceiptOptions
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 Default for ReceiptOptions
impl Default for ReceiptOptions
Source§fn default() -> ReceiptOptions
fn default() -> ReceiptOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ReceiptOptions
impl !UnwindSafe for ReceiptOptions
impl Freeze for ReceiptOptions
impl Send for ReceiptOptions
impl Sync for ReceiptOptions
impl Unpin for ReceiptOptions
impl UnsafeUnpin for ReceiptOptions
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