Struct MetadataItem
pub struct MetadataItem {
pub key: String,
pub value: String,
}
Expand description
Key-value pair in the LnUrlPayRequestData, as returned by the LNURL-pay endpoint
Fields§
§key: String
§value: String
Trait Implementations§
§impl Debug for MetadataItem
impl Debug for MetadataItem
§impl<'de> Deserialize<'de> for MetadataItem
impl<'de> Deserialize<'de> for MetadataItem
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetadataItem
impl RefUnwindSafe for MetadataItem
impl Send for MetadataItem
impl Sync for MetadataItem
impl Unpin for MetadataItem
impl UnwindSafe for MetadataItem
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
§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