pub struct ClusterLookupInvoice {
pub pubkey: String,
pub memo: String,
pub r_preimage: String,
pub r_hash: String,
pub value: String,
pub settle_date: String,
pub payment_request: String,
pub description_hash: String,
pub expiry: String,
pub amt_paid_sat: String,
pub state: ClusterInvoiceState,
}
Fields§
§pubkey: String
§memo: String
§r_preimage: String
§r_hash: String
§value: String
§settle_date: String
§payment_request: String
§description_hash: String
§expiry: String
§amt_paid_sat: String
§state: ClusterInvoiceState
Trait Implementations§
Source§impl Clone for ClusterLookupInvoice
impl Clone for ClusterLookupInvoice
Source§fn clone(&self) -> ClusterLookupInvoice
fn clone(&self) -> ClusterLookupInvoice
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 moreSource§impl Debug for ClusterLookupInvoice
impl Debug for ClusterLookupInvoice
Source§impl<'de> Deserialize<'de> for ClusterLookupInvoice
impl<'de> Deserialize<'de> for ClusterLookupInvoice
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
Source§impl FromRedisValue for ClusterLookupInvoice
impl FromRedisValue for ClusterLookupInvoice
Source§fn from_redis_value(v: &Value) -> RedisResult<Self>
fn from_redis_value(v: &Value) -> RedisResult<Self>
Given a redis
Value
this attempts to convert it into the given
destination type. If that fails because it’s not compatible an
appropriate error is generated.Source§fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
fn from_redis_values(items: &[Value]) -> Result<Vec<Self>, RedisError>
Similar to
from_redis_value
but constructs a vector of objects
from another vector of values. This primarily exists internally
to customize the behavior for vectors of tuples.Auto Trait Implementations§
impl Freeze for ClusterLookupInvoice
impl RefUnwindSafe for ClusterLookupInvoice
impl Send for ClusterLookupInvoice
impl Sync for ClusterLookupInvoice
impl Unpin for ClusterLookupInvoice
impl UnwindSafe for ClusterLookupInvoice
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