Struct breez_sdk_liquid::UrlSuccessActionData
pub struct UrlSuccessActionData {
pub description: String,
pub url: String,
pub matches_callback_domain: bool,
}
Fields§
§description: String
Contents description, up to 144 characters
url: String
URL of the success action
matches_callback_domain: bool
Indicates the success URL domain matches the LNURL callback domain.
Implementations§
§impl UrlSuccessActionData
impl UrlSuccessActionData
pub fn validate( &self, data: &LnUrlPayRequestData, validate_url: bool, ) -> Result<UrlSuccessActionData, LnUrlError>
Trait Implementations§
§impl Clone for UrlSuccessActionData
impl Clone for UrlSuccessActionData
§fn clone(&self) -> UrlSuccessActionData
fn clone(&self) -> UrlSuccessActionData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for UrlSuccessActionData
impl Debug for UrlSuccessActionData
§impl<'de> Deserialize<'de> for UrlSuccessActionData
impl<'de> Deserialize<'de> for UrlSuccessActionData
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UrlSuccessActionData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UrlSuccessActionData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for UrlSuccessActionData
impl PartialEq for UrlSuccessActionData
§fn eq(&self, other: &UrlSuccessActionData) -> bool
fn eq(&self, other: &UrlSuccessActionData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for UrlSuccessActionData
impl Serialize for UrlSuccessActionData
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for UrlSuccessActionData
impl StructuralPartialEq for UrlSuccessActionData
Auto Trait Implementations§
impl Freeze for UrlSuccessActionData
impl RefUnwindSafe for UrlSuccessActionData
impl Send for UrlSuccessActionData
impl Sync for UrlSuccessActionData
impl Unpin for UrlSuccessActionData
impl UnwindSafe for UrlSuccessActionData
Blanket Implementations§
§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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