pub struct FetchOptions {
pub wallet: Arc<dyn LightningNode>,
pub max_price_msat: u64,
pub fetch: FetchFn,
pub expected_did: Option<String>,
pub verify_receipt_flag: bool,
pub now: Box<dyn Fn() -> DateTime<Utc> + Send + Sync>,
pub request_headers: HashMap<String, String>,
pub method: String,
}Fields§
§wallet: Arc<dyn LightningNode>§max_price_msat: u64§fetch: FetchFn§expected_did: Option<String>§verify_receipt_flag: bool§now: Box<dyn Fn() -> DateTime<Utc> + Send + Sync>§request_headers: HashMap<String, String>§method: StringImplementations§
Source§impl FetchOptions
impl FetchOptions
Auto Trait Implementations§
impl Freeze for FetchOptions
impl !RefUnwindSafe for FetchOptions
impl Send for FetchOptions
impl Sync for FetchOptions
impl Unpin for FetchOptions
impl UnsafeUnpin for FetchOptions
impl !UnwindSafe for FetchOptions
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