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