pub struct DecodeResponse {Show 83 fields
pub item_type: i32,
pub valid: bool,
pub offer_id: Option<Vec<u8>>,
pub offer_chains: Vec<Vec<u8>>,
pub offer_metadata: Option<Vec<u8>>,
pub offer_currency: Option<String>,
pub warning_unknown_offer_currency: Option<String>,
pub currency_minor_unit: Option<u32>,
pub offer_amount: Option<u64>,
pub offer_amount_msat: Option<Amount>,
pub offer_description: Option<String>,
pub offer_issuer: Option<String>,
pub offer_features: Option<Vec<u8>>,
pub offer_absolute_expiry: Option<u64>,
pub offer_quantity_max: Option<u64>,
pub offer_paths: Vec<DecodeOfferPaths>,
pub offer_node_id: Option<Vec<u8>>,
pub warning_missing_offer_node_id: Option<String>,
pub warning_invalid_offer_description: Option<String>,
pub warning_missing_offer_description: Option<String>,
pub warning_invalid_offer_currency: Option<String>,
pub warning_invalid_offer_issuer: Option<String>,
pub invreq_metadata: Option<Vec<u8>>,
pub invreq_payer_id: Option<Vec<u8>>,
pub invreq_chain: Option<Vec<u8>>,
pub invreq_amount_msat: Option<Amount>,
pub invreq_features: Option<Vec<u8>>,
pub invreq_quantity: Option<u64>,
pub invreq_payer_note: Option<String>,
pub invreq_recurrence_counter: Option<u32>,
pub invreq_recurrence_start: Option<u32>,
pub warning_missing_invreq_metadata: Option<String>,
pub warning_missing_invreq_payer_id: Option<String>,
pub warning_invalid_invreq_payer_note: Option<String>,
pub warning_missing_invoice_request_signature: Option<String>,
pub warning_invalid_invoice_request_signature: Option<String>,
pub invoice_created_at: Option<u64>,
pub invoice_relative_expiry: Option<u32>,
pub invoice_payment_hash: Option<Vec<u8>>,
pub invoice_amount_msat: Option<Amount>,
pub invoice_fallbacks: Vec<DecodeInvoiceFallbacks>,
pub invoice_features: Option<Vec<u8>>,
pub invoice_node_id: Option<Vec<u8>>,
pub invoice_recurrence_basetime: Option<u64>,
pub warning_missing_invoice_paths: Option<String>,
pub warning_missing_invoice_blindedpay: Option<String>,
pub warning_missing_invoice_created_at: Option<String>,
pub warning_missing_invoice_payment_hash: Option<String>,
pub warning_missing_invoice_amount: Option<String>,
pub warning_missing_invoice_recurrence_basetime: Option<String>,
pub warning_missing_invoice_node_id: Option<String>,
pub warning_missing_invoice_signature: Option<String>,
pub warning_invalid_invoice_signature: Option<String>,
pub fallbacks: Vec<DecodeFallbacks>,
pub created_at: Option<u64>,
pub expiry: Option<u64>,
pub payee: Option<Vec<u8>>,
pub payment_hash: Option<Vec<u8>>,
pub description_hash: Option<Vec<u8>>,
pub min_final_cltv_expiry: Option<u32>,
pub payment_secret: Option<Vec<u8>>,
pub payment_metadata: Option<Vec<u8>>,
pub extra: Vec<DecodeExtra>,
pub unique_id: Option<String>,
pub version: Option<String>,
pub string: Option<String>,
pub restrictions: Vec<DecodeRestrictions>,
pub warning_rune_invalid_utf8: Option<String>,
pub hex: Option<Vec<u8>>,
pub decrypted: Option<Vec<u8>>,
pub signature: Option<String>,
pub currency: Option<String>,
pub amount_msat: Option<Amount>,
pub description: Option<String>,
pub features: Option<Vec<u8>>,
pub routes: Option<DecodeRoutehintList>,
pub offer_issuer_id: Option<Vec<u8>>,
pub warning_missing_offer_issuer_id: Option<String>,
pub invreq_paths: Vec<DecodeInvreqPaths>,
pub warning_empty_blinded_path: Option<String>,
pub invreq_bip_353_name: Option<DecodeInvreqBip353Name>,
pub warning_invreq_bip_353_name_name_invalid: Option<String>,
pub warning_invreq_bip_353_name_domain_invalid: Option<String>,
}
Fields§
§item_type: i32
§valid: bool
§offer_id: Option<Vec<u8>>
§offer_chains: Vec<Vec<u8>>
§offer_metadata: Option<Vec<u8>>
§offer_currency: Option<String>
§warning_unknown_offer_currency: Option<String>
§currency_minor_unit: Option<u32>
§offer_amount: Option<u64>
§offer_amount_msat: Option<Amount>
§offer_description: Option<String>
§offer_issuer: Option<String>
§offer_features: Option<Vec<u8>>
§offer_absolute_expiry: Option<u64>
§offer_quantity_max: Option<u64>
§offer_paths: Vec<DecodeOfferPaths>
§offer_node_id: Option<Vec<u8>>
§warning_missing_offer_node_id: Option<String>
§warning_invalid_offer_description: Option<String>
§warning_missing_offer_description: Option<String>
§warning_invalid_offer_currency: Option<String>
§warning_invalid_offer_issuer: Option<String>
§invreq_metadata: Option<Vec<u8>>
§invreq_payer_id: Option<Vec<u8>>
§invreq_chain: Option<Vec<u8>>
§invreq_amount_msat: Option<Amount>
§invreq_features: Option<Vec<u8>>
§invreq_quantity: Option<u64>
§invreq_payer_note: Option<String>
§invreq_recurrence_counter: Option<u32>
§invreq_recurrence_start: Option<u32>
§warning_missing_invreq_metadata: Option<String>
§warning_missing_invreq_payer_id: Option<String>
§warning_invalid_invreq_payer_note: Option<String>
§warning_missing_invoice_request_signature: Option<String>
§warning_invalid_invoice_request_signature: Option<String>
§invoice_created_at: Option<u64>
§invoice_relative_expiry: Option<u32>
§invoice_payment_hash: Option<Vec<u8>>
§invoice_amount_msat: Option<Amount>
§invoice_fallbacks: Vec<DecodeInvoiceFallbacks>
§invoice_features: Option<Vec<u8>>
§invoice_node_id: Option<Vec<u8>>
§invoice_recurrence_basetime: Option<u64>
§warning_missing_invoice_paths: Option<String>
§warning_missing_invoice_blindedpay: Option<String>
§warning_missing_invoice_created_at: Option<String>
§warning_missing_invoice_payment_hash: Option<String>
§warning_missing_invoice_amount: Option<String>
§warning_missing_invoice_recurrence_basetime: Option<String>
§warning_missing_invoice_node_id: Option<String>
§warning_missing_invoice_signature: Option<String>
§warning_invalid_invoice_signature: Option<String>
§fallbacks: Vec<DecodeFallbacks>
§created_at: Option<u64>
§expiry: Option<u64>
§payee: Option<Vec<u8>>
§payment_hash: Option<Vec<u8>>
§description_hash: Option<Vec<u8>>
§min_final_cltv_expiry: Option<u32>
§payment_secret: Option<Vec<u8>>
§payment_metadata: Option<Vec<u8>>
§extra: Vec<DecodeExtra>
§unique_id: Option<String>
§version: Option<String>
§string: Option<String>
§restrictions: Vec<DecodeRestrictions>
§warning_rune_invalid_utf8: Option<String>
§hex: Option<Vec<u8>>
§decrypted: Option<Vec<u8>>
§signature: Option<String>
§currency: Option<String>
§amount_msat: Option<Amount>
§description: Option<String>
§features: Option<Vec<u8>>
§routes: Option<DecodeRoutehintList>
§offer_issuer_id: Option<Vec<u8>>
§warning_missing_offer_issuer_id: Option<String>
§invreq_paths: Vec<DecodeInvreqPaths>
§warning_empty_blinded_path: Option<String>
§invreq_bip_353_name: Option<DecodeInvreqBip353Name>
§warning_invreq_bip_353_name_name_invalid: Option<String>
§warning_invreq_bip_353_name_domain_invalid: Option<String>
Implementations§
Source§impl DecodeResponse
impl DecodeResponse
Sourcepub fn item_type(&self) -> DecodeType
pub fn item_type(&self) -> DecodeType
Returns the enum value of item_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_item_type(&mut self, value: DecodeType)
pub fn set_item_type(&mut self, value: DecodeType)
Sets item_type
to the provided enum value.
Sourcepub fn offer_id(&self) -> &[u8] ⓘ
pub fn offer_id(&self) -> &[u8] ⓘ
Returns the value of offer_id
, or the default value if offer_id
is unset.
Sourcepub fn offer_metadata(&self) -> &[u8] ⓘ
pub fn offer_metadata(&self) -> &[u8] ⓘ
Returns the value of offer_metadata
, or the default value if offer_metadata
is unset.
Sourcepub fn offer_currency(&self) -> &str
pub fn offer_currency(&self) -> &str
Returns the value of offer_currency
, or the default value if offer_currency
is unset.
Sourcepub fn warning_unknown_offer_currency(&self) -> &str
pub fn warning_unknown_offer_currency(&self) -> &str
Returns the value of warning_unknown_offer_currency
, or the default value if warning_unknown_offer_currency
is unset.
Sourcepub fn currency_minor_unit(&self) -> u32
pub fn currency_minor_unit(&self) -> u32
Returns the value of currency_minor_unit
, or the default value if currency_minor_unit
is unset.
Sourcepub fn offer_amount(&self) -> u64
pub fn offer_amount(&self) -> u64
Returns the value of offer_amount
, or the default value if offer_amount
is unset.
Sourcepub fn offer_description(&self) -> &str
pub fn offer_description(&self) -> &str
Returns the value of offer_description
, or the default value if offer_description
is unset.
Sourcepub fn offer_issuer(&self) -> &str
pub fn offer_issuer(&self) -> &str
Returns the value of offer_issuer
, or the default value if offer_issuer
is unset.
Sourcepub fn offer_features(&self) -> &[u8] ⓘ
pub fn offer_features(&self) -> &[u8] ⓘ
Returns the value of offer_features
, or the default value if offer_features
is unset.
Sourcepub fn offer_absolute_expiry(&self) -> u64
pub fn offer_absolute_expiry(&self) -> u64
Returns the value of offer_absolute_expiry
, or the default value if offer_absolute_expiry
is unset.
Sourcepub fn offer_quantity_max(&self) -> u64
pub fn offer_quantity_max(&self) -> u64
Returns the value of offer_quantity_max
, or the default value if offer_quantity_max
is unset.
Sourcepub fn offer_node_id(&self) -> &[u8] ⓘ
pub fn offer_node_id(&self) -> &[u8] ⓘ
Returns the value of offer_node_id
, or the default value if offer_node_id
is unset.
Sourcepub fn warning_missing_offer_node_id(&self) -> &str
pub fn warning_missing_offer_node_id(&self) -> &str
Returns the value of warning_missing_offer_node_id
, or the default value if warning_missing_offer_node_id
is unset.
Sourcepub fn warning_invalid_offer_description(&self) -> &str
pub fn warning_invalid_offer_description(&self) -> &str
Returns the value of warning_invalid_offer_description
, or the default value if warning_invalid_offer_description
is unset.
Sourcepub fn warning_missing_offer_description(&self) -> &str
pub fn warning_missing_offer_description(&self) -> &str
Returns the value of warning_missing_offer_description
, or the default value if warning_missing_offer_description
is unset.
Sourcepub fn warning_invalid_offer_currency(&self) -> &str
pub fn warning_invalid_offer_currency(&self) -> &str
Returns the value of warning_invalid_offer_currency
, or the default value if warning_invalid_offer_currency
is unset.
Sourcepub fn warning_invalid_offer_issuer(&self) -> &str
pub fn warning_invalid_offer_issuer(&self) -> &str
Returns the value of warning_invalid_offer_issuer
, or the default value if warning_invalid_offer_issuer
is unset.
Sourcepub fn invreq_metadata(&self) -> &[u8] ⓘ
pub fn invreq_metadata(&self) -> &[u8] ⓘ
Returns the value of invreq_metadata
, or the default value if invreq_metadata
is unset.
Sourcepub fn invreq_payer_id(&self) -> &[u8] ⓘ
pub fn invreq_payer_id(&self) -> &[u8] ⓘ
Returns the value of invreq_payer_id
, or the default value if invreq_payer_id
is unset.
Sourcepub fn invreq_chain(&self) -> &[u8] ⓘ
pub fn invreq_chain(&self) -> &[u8] ⓘ
Returns the value of invreq_chain
, or the default value if invreq_chain
is unset.
Sourcepub fn invreq_features(&self) -> &[u8] ⓘ
pub fn invreq_features(&self) -> &[u8] ⓘ
Returns the value of invreq_features
, or the default value if invreq_features
is unset.
Sourcepub fn invreq_quantity(&self) -> u64
pub fn invreq_quantity(&self) -> u64
Returns the value of invreq_quantity
, or the default value if invreq_quantity
is unset.
Sourcepub fn invreq_payer_note(&self) -> &str
pub fn invreq_payer_note(&self) -> &str
Returns the value of invreq_payer_note
, or the default value if invreq_payer_note
is unset.
Sourcepub fn invreq_recurrence_counter(&self) -> u32
pub fn invreq_recurrence_counter(&self) -> u32
Returns the value of invreq_recurrence_counter
, or the default value if invreq_recurrence_counter
is unset.
Sourcepub fn invreq_recurrence_start(&self) -> u32
pub fn invreq_recurrence_start(&self) -> u32
Returns the value of invreq_recurrence_start
, or the default value if invreq_recurrence_start
is unset.
Sourcepub fn warning_missing_invreq_metadata(&self) -> &str
pub fn warning_missing_invreq_metadata(&self) -> &str
Returns the value of warning_missing_invreq_metadata
, or the default value if warning_missing_invreq_metadata
is unset.
Sourcepub fn warning_missing_invreq_payer_id(&self) -> &str
pub fn warning_missing_invreq_payer_id(&self) -> &str
Returns the value of warning_missing_invreq_payer_id
, or the default value if warning_missing_invreq_payer_id
is unset.
Sourcepub fn warning_invalid_invreq_payer_note(&self) -> &str
pub fn warning_invalid_invreq_payer_note(&self) -> &str
Returns the value of warning_invalid_invreq_payer_note
, or the default value if warning_invalid_invreq_payer_note
is unset.
Sourcepub fn warning_missing_invoice_request_signature(&self) -> &str
pub fn warning_missing_invoice_request_signature(&self) -> &str
Returns the value of warning_missing_invoice_request_signature
, or the default value if warning_missing_invoice_request_signature
is unset.
Sourcepub fn warning_invalid_invoice_request_signature(&self) -> &str
pub fn warning_invalid_invoice_request_signature(&self) -> &str
Returns the value of warning_invalid_invoice_request_signature
, or the default value if warning_invalid_invoice_request_signature
is unset.
Sourcepub fn invoice_created_at(&self) -> u64
pub fn invoice_created_at(&self) -> u64
Returns the value of invoice_created_at
, or the default value if invoice_created_at
is unset.
Sourcepub fn invoice_relative_expiry(&self) -> u32
pub fn invoice_relative_expiry(&self) -> u32
Returns the value of invoice_relative_expiry
, or the default value if invoice_relative_expiry
is unset.
Sourcepub fn invoice_payment_hash(&self) -> &[u8] ⓘ
pub fn invoice_payment_hash(&self) -> &[u8] ⓘ
Returns the value of invoice_payment_hash
, or the default value if invoice_payment_hash
is unset.
Sourcepub fn invoice_features(&self) -> &[u8] ⓘ
pub fn invoice_features(&self) -> &[u8] ⓘ
Returns the value of invoice_features
, or the default value if invoice_features
is unset.
Sourcepub fn invoice_node_id(&self) -> &[u8] ⓘ
pub fn invoice_node_id(&self) -> &[u8] ⓘ
Returns the value of invoice_node_id
, or the default value if invoice_node_id
is unset.
Sourcepub fn invoice_recurrence_basetime(&self) -> u64
pub fn invoice_recurrence_basetime(&self) -> u64
Returns the value of invoice_recurrence_basetime
, or the default value if invoice_recurrence_basetime
is unset.
Sourcepub fn warning_missing_invoice_paths(&self) -> &str
pub fn warning_missing_invoice_paths(&self) -> &str
Returns the value of warning_missing_invoice_paths
, or the default value if warning_missing_invoice_paths
is unset.
Sourcepub fn warning_missing_invoice_blindedpay(&self) -> &str
pub fn warning_missing_invoice_blindedpay(&self) -> &str
Returns the value of warning_missing_invoice_blindedpay
, or the default value if warning_missing_invoice_blindedpay
is unset.
Sourcepub fn warning_missing_invoice_created_at(&self) -> &str
pub fn warning_missing_invoice_created_at(&self) -> &str
Returns the value of warning_missing_invoice_created_at
, or the default value if warning_missing_invoice_created_at
is unset.
Sourcepub fn warning_missing_invoice_payment_hash(&self) -> &str
pub fn warning_missing_invoice_payment_hash(&self) -> &str
Returns the value of warning_missing_invoice_payment_hash
, or the default value if warning_missing_invoice_payment_hash
is unset.
Sourcepub fn warning_missing_invoice_amount(&self) -> &str
pub fn warning_missing_invoice_amount(&self) -> &str
Returns the value of warning_missing_invoice_amount
, or the default value if warning_missing_invoice_amount
is unset.
Sourcepub fn warning_missing_invoice_recurrence_basetime(&self) -> &str
pub fn warning_missing_invoice_recurrence_basetime(&self) -> &str
Returns the value of warning_missing_invoice_recurrence_basetime
, or the default value if warning_missing_invoice_recurrence_basetime
is unset.
Sourcepub fn warning_missing_invoice_node_id(&self) -> &str
pub fn warning_missing_invoice_node_id(&self) -> &str
Returns the value of warning_missing_invoice_node_id
, or the default value if warning_missing_invoice_node_id
is unset.
Sourcepub fn warning_missing_invoice_signature(&self) -> &str
pub fn warning_missing_invoice_signature(&self) -> &str
Returns the value of warning_missing_invoice_signature
, or the default value if warning_missing_invoice_signature
is unset.
Sourcepub fn warning_invalid_invoice_signature(&self) -> &str
pub fn warning_invalid_invoice_signature(&self) -> &str
Returns the value of warning_invalid_invoice_signature
, or the default value if warning_invalid_invoice_signature
is unset.
Sourcepub fn created_at(&self) -> u64
pub fn created_at(&self) -> u64
Returns the value of created_at
, or the default value if created_at
is unset.
Sourcepub fn expiry(&self) -> u64
pub fn expiry(&self) -> u64
Returns the value of expiry
, or the default value if expiry
is unset.
Sourcepub fn payee(&self) -> &[u8] ⓘ
pub fn payee(&self) -> &[u8] ⓘ
Returns the value of payee
, or the default value if payee
is unset.
Sourcepub fn payment_hash(&self) -> &[u8] ⓘ
pub fn payment_hash(&self) -> &[u8] ⓘ
Returns the value of payment_hash
, or the default value if payment_hash
is unset.
Sourcepub fn description_hash(&self) -> &[u8] ⓘ
pub fn description_hash(&self) -> &[u8] ⓘ
Returns the value of description_hash
, or the default value if description_hash
is unset.
Sourcepub fn min_final_cltv_expiry(&self) -> u32
pub fn min_final_cltv_expiry(&self) -> u32
Returns the value of min_final_cltv_expiry
, or the default value if min_final_cltv_expiry
is unset.
Sourcepub fn payment_secret(&self) -> &[u8] ⓘ
pub fn payment_secret(&self) -> &[u8] ⓘ
Returns the value of payment_secret
, or the default value if payment_secret
is unset.
Sourcepub fn payment_metadata(&self) -> &[u8] ⓘ
pub fn payment_metadata(&self) -> &[u8] ⓘ
Returns the value of payment_metadata
, or the default value if payment_metadata
is unset.
Sourcepub fn unique_id(&self) -> &str
pub fn unique_id(&self) -> &str
Returns the value of unique_id
, or the default value if unique_id
is unset.
Sourcepub fn version(&self) -> &str
pub fn version(&self) -> &str
Returns the value of version
, or the default value if version
is unset.
Sourcepub fn string(&self) -> &str
pub fn string(&self) -> &str
Returns the value of string
, or the default value if string
is unset.
Sourcepub fn warning_rune_invalid_utf8(&self) -> &str
pub fn warning_rune_invalid_utf8(&self) -> &str
Returns the value of warning_rune_invalid_utf8
, or the default value if warning_rune_invalid_utf8
is unset.
Sourcepub fn decrypted(&self) -> &[u8] ⓘ
pub fn decrypted(&self) -> &[u8] ⓘ
Returns the value of decrypted
, or the default value if decrypted
is unset.
Sourcepub fn signature(&self) -> &str
pub fn signature(&self) -> &str
Returns the value of signature
, or the default value if signature
is unset.
Sourcepub fn currency(&self) -> &str
pub fn currency(&self) -> &str
Returns the value of currency
, or the default value if currency
is unset.
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
Sourcepub fn features(&self) -> &[u8] ⓘ
pub fn features(&self) -> &[u8] ⓘ
Returns the value of features
, or the default value if features
is unset.
Sourcepub fn offer_issuer_id(&self) -> &[u8] ⓘ
pub fn offer_issuer_id(&self) -> &[u8] ⓘ
Returns the value of offer_issuer_id
, or the default value if offer_issuer_id
is unset.
Sourcepub fn warning_missing_offer_issuer_id(&self) -> &str
pub fn warning_missing_offer_issuer_id(&self) -> &str
Returns the value of warning_missing_offer_issuer_id
, or the default value if warning_missing_offer_issuer_id
is unset.
Sourcepub fn warning_empty_blinded_path(&self) -> &str
pub fn warning_empty_blinded_path(&self) -> &str
Returns the value of warning_empty_blinded_path
, or the default value if warning_empty_blinded_path
is unset.
Sourcepub fn warning_invreq_bip_353_name_name_invalid(&self) -> &str
pub fn warning_invreq_bip_353_name_name_invalid(&self) -> &str
Returns the value of warning_invreq_bip_353_name_name_invalid
, or the default value if warning_invreq_bip_353_name_name_invalid
is unset.
Sourcepub fn warning_invreq_bip_353_name_domain_invalid(&self) -> &str
pub fn warning_invreq_bip_353_name_domain_invalid(&self) -> &str
Returns the value of warning_invreq_bip_353_name_domain_invalid
, or the default value if warning_invreq_bip_353_name_domain_invalid
is unset.
Trait Implementations§
Source§impl Clone for DecodeResponse
impl Clone for DecodeResponse
Source§fn clone(&self) -> DecodeResponse
fn clone(&self) -> DecodeResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DecodeResponse
impl Debug for DecodeResponse
Source§impl Default for DecodeResponse
impl Default for DecodeResponse
Source§fn default() -> DecodeResponse
fn default() -> DecodeResponse
Source§impl<'de> Deserialize<'de> for DecodeResponse
impl<'de> Deserialize<'de> for DecodeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecodeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DecodeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Message for DecodeResponse
impl Message for DecodeResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for DecodeResponse
impl PartialEq for DecodeResponse
Source§impl Serialize for DecodeResponse
impl Serialize for DecodeResponse
Source§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,
impl StructuralPartialEq for DecodeResponse
Auto Trait Implementations§
impl Freeze for DecodeResponse
impl RefUnwindSafe for DecodeResponse
impl Send for DecodeResponse
impl Sync for DecodeResponse
impl Unpin for DecodeResponse
impl UnwindSafe for DecodeResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for T
impl<T> Downcast for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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>
T
in a tonic::Request