pub struct GroupKeyRequest {
pub raw_key: Option<KeyDescriptor>,
pub anchor_genesis: Option<GenesisInfo>,
pub tapscript_root: Vec<u8>,
pub new_asset: Vec<u8>,
pub external_key: Option<ExternalKey>,
}Fields§
§raw_key: Option<KeyDescriptor>The internal key for the asset group before any tweaks have been applied. If this field is set then external_key must be empty, and vice versa.
anchor_genesis: Option<GenesisInfo>The genesis of the group anchor asset, which is used to derive the single tweak for the group key. For a new group key, this will be the genesis of new_asset.
tapscript_root: Vec<u8>The optional root of a tapscript tree that will be used when constructing a new asset group key. This enables future issuance authorized with a script witness.
new_asset: Vec<u8>The serialized asset which we are requesting group membership for. A successful request will produce a witness that authorizes this asset to be a member of this asset group.
external_key: Option<ExternalKey>The external key is an optional field that allows specifying an external signing key for the group virtual transaction during minting. This key enables signing operations to be performed externally, outside the daemon.
If this field is set then raw_key must be empty, and vice versa.
Trait Implementations§
Source§impl Clone for GroupKeyRequest
impl Clone for GroupKeyRequest
Source§fn clone(&self) -> GroupKeyRequest
fn clone(&self) -> GroupKeyRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GroupKeyRequest
impl Debug for GroupKeyRequest
Source§impl Default for GroupKeyRequest
impl Default for GroupKeyRequest
Source§impl Message for GroupKeyRequest
impl Message for GroupKeyRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for GroupKeyRequest
impl PartialEq for GroupKeyRequest
Source§fn eq(&self, other: &GroupKeyRequest) -> bool
fn eq(&self, other: &GroupKeyRequest) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GroupKeyRequest
Auto Trait Implementations§
impl Freeze for GroupKeyRequest
impl RefUnwindSafe for GroupKeyRequest
impl Send for GroupKeyRequest
impl Sync for GroupKeyRequest
impl Unpin for GroupKeyRequest
impl UnsafeUnpin for GroupKeyRequest
impl UnwindSafe for GroupKeyRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
T in a tonic::Request