pub struct LnUrlWithdrawRequestData {
pub callback: String,
pub k1: String,
pub default_description: String,
pub min_withdrawable: u64,
pub max_withdrawable: u64,
}
Expand description
Wrapped in a LnUrlWithdraw, this is the result of parse when given a LNURL-withdraw endpoint.
It represents the endpoint’s parameters for the LNURL workflow.
Fields§
§callback: String
§k1: String
§default_description: String
§min_withdrawable: u64
The minimum amount, in millisats, that this LNURL-withdraw endpoint accepts
max_withdrawable: u64
The maximum amount, in millisats, that this LNURL-withdraw endpoint accepts
Implementations§
source§impl LnUrlWithdrawRequestData
impl LnUrlWithdrawRequestData
sourcepub fn min_withdrawable_sats(&self) -> u64
pub fn min_withdrawable_sats(&self) -> u64
The minimum amount, in sats, accepted by this LNURL-withdraw endpoint
sourcepub fn max_withdrawable_sats(&self) -> u64
pub fn max_withdrawable_sats(&self) -> u64
The maximum amount, in sats, accepted by this LNURL-withdraw endpoint
Trait Implementations§
source§impl Debug for LnUrlWithdrawRequestData
impl Debug for LnUrlWithdrawRequestData
source§impl<'de> Deserialize<'de> for LnUrlWithdrawRequestData
impl<'de> Deserialize<'de> for LnUrlWithdrawRequestData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl IntoDart for LnUrlWithdrawRequestData
impl IntoDart for LnUrlWithdrawRequestData
source§impl IntoIntoDart<LnUrlWithdrawRequestData> for LnUrlWithdrawRequestData
impl IntoIntoDart<LnUrlWithdrawRequestData> for LnUrlWithdrawRequestData
fn into_into_dart(self) -> Self
source§impl Serialize for LnUrlWithdrawRequestData
impl Serialize for LnUrlWithdrawRequestData
impl IntoDartExceptPrimitive for LnUrlWithdrawRequestData
Auto Trait Implementations§
impl Freeze for LnUrlWithdrawRequestData
impl RefUnwindSafe for LnUrlWithdrawRequestData
impl Send for LnUrlWithdrawRequestData
impl Sync for LnUrlWithdrawRequestData
impl Unpin for LnUrlWithdrawRequestData
impl UnwindSafe for LnUrlWithdrawRequestData
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> BoxIntoDart for Twhere
T: IntoDart,
impl<T> BoxIntoDart for Twhere
T: IntoDart,
fn box_into_dart(self: Box<T>) -> DartCObject
§impl<T> Downcast for Twhere
T: AsAny + ?Sized,
impl<T> Downcast for Twhere
T: AsAny + ?Sized,
§fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
fn downcast_ref<T>(&self) -> Option<&T>where
T: AsAny,
Forward to the method defined on the type
Any
.§fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
fn downcast_mut<T>(&mut self) -> Option<&mut T>where
T: AsAny,
Forward to the method defined on the type
Any
.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request