Struct Bip21Details
pub struct Bip21Details {
pub amount_sat: Option<u64>,
pub asset_id: Option<String>,
pub uri: String,
pub extras: Vec<Bip21Extra>,
pub label: Option<String>,
pub message: Option<String>,
pub payment_methods: Vec<InputType>,
}
Fields§
§amount_sat: Option<u64>
§asset_id: Option<String>
§uri: String
§extras: Vec<Bip21Extra>
§label: Option<String>
§message: Option<String>
§payment_methods: Vec<InputType>
Trait Implementations§
§impl Clone for Bip21Details
impl Clone for Bip21Details
§fn clone(&self) -> Bip21Details
fn clone(&self) -> Bip21Details
Returns a duplicate 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 Bip21Details
impl Debug for Bip21Details
§impl Default for Bip21Details
impl Default for Bip21Details
§fn default() -> Bip21Details
fn default() -> Bip21Details
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Bip21Details
impl<'de> Deserialize<'de> for Bip21Details
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bip21Details, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bip21Details, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Bip21Details
impl Serialize for Bip21Details
§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
Auto Trait Implementations§
impl Freeze for Bip21Details
impl RefUnwindSafe for Bip21Details
impl Send for Bip21Details
impl Sync for Bip21Details
impl Unpin for Bip21Details
impl UnwindSafe for Bip21Details
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,
§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