pub struct Bip321UriQuery {
pub uppercase: Option<bool>,
}Expand description
Query parameters for building a BIP 321 URI.
Fields§
§uppercase: Option<bool>Whether to upper-case the returned bip321 URI so QR encoders can use
the compact alphanumeric mode. Defaults to false.
Requesting an upper-case URI fails when it carries case-sensitive data
(a label or message with lowercase characters, or base58 address) that
cannot be upper-cased.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Bip321UriQuery
impl<'de> Deserialize<'de> for Bip321UriQuery
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
Auto Trait Implementations§
impl Freeze for Bip321UriQuery
impl RefUnwindSafe for Bip321UriQuery
impl Send for Bip321UriQuery
impl Sync for Bip321UriQuery
impl Unpin for Bip321UriQuery
impl UnsafeUnpin for Bip321UriQuery
impl UnwindSafe for Bip321UriQuery
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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