pub struct Nut10SecretRequest {
pub kind: Kind,
pub data: String,
pub tags: Option<Vec<Vec<String>>>,
}
Expand description
Nut10Secret without nonce for payment requests
Fields§
§kind: Kind
Kind of the spending condition
data: String
Secret data
Additional data committed to and can be used for feature extensions
Implementations§
Trait Implementations§
Source§impl Clone for Nut10SecretRequest
impl Clone for Nut10SecretRequest
Source§fn clone(&self) -> Nut10SecretRequest
fn clone(&self) -> Nut10SecretRequest
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 Nut10SecretRequest
impl Debug for Nut10SecretRequest
Source§impl<'de> Deserialize<'de> for Nut10SecretRequest
impl<'de> Deserialize<'de> for Nut10SecretRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Nut10SecretRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Nut10SecretRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Secret> for Nut10SecretRequest
impl From<Secret> for Nut10SecretRequest
Source§fn from(secret: Secret) -> Nut10SecretRequest
fn from(secret: Secret) -> Nut10SecretRequest
Converts to this type from the input type.
Source§impl From<Nut10SecretRequest> for Secret
impl From<Nut10SecretRequest> for Secret
Source§fn from(value: Nut10SecretRequest) -> Secret
fn from(value: Nut10SecretRequest) -> Secret
Converts to this type from the input type.
Source§impl From<SpendingConditions> for Nut10SecretRequest
impl From<SpendingConditions> for Nut10SecretRequest
Source§fn from(conditions: SpendingConditions) -> Nut10SecretRequest
fn from(conditions: SpendingConditions) -> Nut10SecretRequest
Converts to this type from the input type.
Source§impl Hash for Nut10SecretRequest
impl Hash for Nut10SecretRequest
Source§impl PartialEq for Nut10SecretRequest
impl PartialEq for Nut10SecretRequest
Source§impl Serialize for Nut10SecretRequest
impl Serialize for Nut10SecretRequest
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,
Serialize this value into the given Serde serializer. Read more
impl Eq for Nut10SecretRequest
impl StructuralPartialEq for Nut10SecretRequest
Auto Trait Implementations§
impl Freeze for Nut10SecretRequest
impl RefUnwindSafe for Nut10SecretRequest
impl Send for Nut10SecretRequest
impl Sync for Nut10SecretRequest
impl Unpin for Nut10SecretRequest
impl UnwindSafe for Nut10SecretRequest
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